Class PinchGesture

Definition

Namespace:
Tizen.NUI
Assembly:
Tizen.NUI.dll
API Level:
3

A PinchGesture is emitted when the user moves two fingers towards or away from each other.
A pinch gesture will continue to be sent to the actor under the center point of the pinch until the pinch ends.

C#
Copy
public class PinchGesture : Gesture, IDisposable
Inheritance
System.Object
PinchGesture
Implements
System.IDisposable

Properties

View Source

LocalCenterPoint

The center point of the two points that caused the pinch gesture in local actor coordinates.

Declaration
C#
Copy
public Vector2 LocalCenterPoint { get; }
Property Value
Type Description
Vector2
API Level: 3
View Source

Scale

The scale factor from the start of the pinch gesture till the latest pinch gesture.
If the user is moving their fingers away from each other, then this value increases. Conversely, if the user is moving their fingers towards each other, this value will decrease.

Declaration
C#
Copy
public float Scale { get; }
Property Value
Type Description
Single
API Level: 3
View Source

ScreenCenterPoint

The center point of the two points that caused the pinch gesture in screen coordinates.

Declaration
C#
Copy
public Vector2 ScreenCenterPoint { get; }
Property Value
Type Description
Vector2
API Level: 3
View Source

Speed

The speed at which the user is moving their fingers.
This is the pixel movement per second.

Declaration
C#
Copy
public float Speed { get; }
Property Value
Type Description
Single
API Level: 3

Methods

View Source

Dispose(DisposeTypes)

Dispose.

Declaration
C#
Copy
protected override void Dispose(DisposeTypes type)
Parameters
Type Name Description
DisposeTypes type
Overrides
API Level: 3

Implements

System.IDisposable