Class PinchArgs
Arguments that define additional behavior for Pinch operations.
Inherited Members
Namespace: HP.LFT.SDK.Mobile
Assembly: HP.LFT.SDK.dll
Syntax
public class PinchArgs
Constructors
PinchArgs()
Initializes a new instance of the PinchArgs class with default arguments (pinches the center of the object).
Declaration
public PinchArgs()
Properties
Gesture
The gesture class designed by the mobile application developer to handle this gesture on this object.
Declaration
public string Gesture { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
Needed only if the application developer overrode the default iOS gesture class.
Location
The Location to perform the pinch operation.
Declaration
public Location Location { get; set; }
Property Value
| Type | Description |
|---|---|
| Location |
Remarks
Default = center of the object
Velocity
The speed at which to perform the pinch operation.
Declaration
public double? Velocity { get; set; }
Property Value
| Type | Description |
|---|---|
| double? |
Remarks
This number specifies the scale factor per second, meaning the ratio between the touch point distance at one second, and the touch point distance one second later. For example, if performing a pinch from 6 cm to 3 cm (0.5 scale) takes 2 seconds, then the velocity is 0.25.