CLEAR

PinchGesture


The PinchGesture class contains the details of a detected pinch gesture.

Properties

PropertyDescription

location

(get) location: PixelPointSignal (set) (Not Available) Specifies a PixelPointSignal that represents the current center point between two touches of the pinch gesture in screen coordinates.

Note: The location is always specified in the screen coordinates, even if the event was emitted as a result of pinching on a specific object.

scale

(get) scale: ScalarSignal (set) (Not Available)

Specifies a ScalarSignal representing the scale factor indicated by the gesture.

state (inherited from Gesture)

(get) state: StringSignal (set) (Not Available) Specifies a StringSignal representing the current gesture state. The value is a member of the Gesture.State enum.

type (inherited from Gesture)

(get) type: Gesture.Type (set) (Not Available)

Specifies a Gesture.Type enum value representing the type of gesture detected.

To use this property, enable pre-release APIs in your project manifest.

Methods

This class exposes no methods.