Table of Contents

Class PinchArgs

Namespace
HP.LFT.SDK.Mobile
Assembly
HP.LFT.SDK.dll

Arguments that define additional behavior for Pinch operations.

public class PinchArgs
Inheritance
PinchArgs
Inherited Members

Constructors

PinchArgs()

Initializes a new instance of the PinchArgs class with default arguments (pinches the center of the object).

public PinchArgs()

Properties

Gesture

The gesture class designed by the mobile application developer to handle this gesture on this object.

public string Gesture { get; set; }

Property Value

string

Remarks

Needed only if the application developer overrode the default iOS gesture class.

Location

The Location to perform the pinch operation.

public Location Location { get; set; }

Property Value

Location

Remarks

Default = center of the object

Velocity

The speed at which to perform the pinch operation.

public double? Velocity { get; set; }

Property Value

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.