Inheritance
System.Object
PrimaryPointerGestureRecognizer
public abstract class PrimaryPointerGestureRecognizer : OneSequenceGestureRecognizer, GestureArenaMember
Constructors
Declaration
protected PrimaryPointerGestureRecognizer(TimeSpan? deadline = default(TimeSpan? ), object debugOwner = null, PointerDeviceKind? kind = default(PointerDeviceKind? ), float? preAcceptSlopTolerance, float? postAcceptSlopTolerance)
Parameters
Type |
Name |
Description |
System.Nullable<System.TimeSpan> |
deadline |
|
System.Object |
debugOwner |
|
System.Nullable<PointerDeviceKind> |
kind |
|
System.Nullable<System.Single> |
preAcceptSlopTolerance |
|
System.Nullable<System.Single> |
postAcceptSlopTolerance |
|
Fields
Declaration
public readonly TimeSpan? deadline
Field Value
Type |
Description |
System.Nullable<System.TimeSpan> |
|
Declaration
public Offset initialPosition
Field Value
postAcceptSlopTolerance
Declaration
public readonly float? postAcceptSlopTolerance
Field Value
Type |
Description |
System.Nullable<System.Single> |
|
Declaration
public readonly float? preAcceptSlopTolerance
Field Value
Type |
Description |
System.Nullable<System.Single> |
|
Declaration
public int primaryPointer
Field Value
Type |
Description |
System.Int32 |
|
Declaration
public GestureRecognizerState state
Field Value
Methods
Declaration
public override void acceptGesture(int pointer)
Parameters
Type |
Name |
Description |
System.Int32 |
pointer |
|
Overrides
Declaration
public override void addAllowedPointer(PointerDownEvent evt)
Parameters
Overrides
Declaration
public override void debugFillProperties(DiagnosticPropertiesBuilder properties)
Parameters
Overrides
Declaration
protected virtual void didExceedDeadline()
Declaration
protected override void didStopTrackingLastPointer(int pointer)
Parameters
Type |
Name |
Description |
System.Int32 |
pointer |
|
Overrides
Declaration
public override void dispose()
Overrides
Declaration
protected override void handleEvent(PointerEvent evt)
Parameters
Overrides
Declaration
protected abstract void handlePrimaryPointer(PointerEvent evt)
Parameters
Declaration
public override void rejectGesture(int pointer)
Parameters
Type |
Name |
Description |
System.Int32 |
pointer |
|
Overrides