Table of Contents

Class PinchGesture

Namespace
Lime
Assembly
Lime.dll
public sealed class PinchGesture : DragGesture
Inheritance
PinchGesture
Inherited Members

Constructors

PinchGesture()

public PinchGesture()

PinchGesture(DragDirection)

public PinchGesture(DragDirection dragDirection)

Parameters

dragDirection DragDirection

PinchGesture(DragDirection, bool, float)

public PinchGesture(DragDirection direction, bool exclusive, float dragThreshold)

Parameters

direction DragDirection
exclusive bool
dragThreshold float

PinchGesture(bool)

public PinchGesture(bool exclusive)

Parameters

exclusive bool

Properties

LastPinchScale

public float LastPinchScale { get; }

Property Value

float

TotalPinchScale

public float TotalPinchScale { get; }

Property Value

float

TouchDistance

public float TouchDistance { get; }

Property Value

float

TouchPressDistance

public float TouchPressDistance { get; }

Property Value

float

Methods

CanStartDrag()

protected override bool CanStartDrag()

Returns

bool

IsDragging()

protected override bool IsDragging()

Returns

bool

OnUpdate()

protected override bool OnUpdate()

Returns

bool

TryGetDragPosition(out Vector2)

protected override bool TryGetDragPosition(out Vector2 position)

Parameters

position Vector2

Returns

bool

TryGetStartDragPosition(out Vector2)

protected override bool TryGetStartDragPosition(out Vector2 position)

Parameters

position Vector2

Returns

bool