RotateGesture

One update of a two-finger rotation, in degrees since the gesture began.
public readonly record struct RotateGesture(GestureState State, double Degrees, double Velocity)

Constructors

Initializes a new instance of the RotateGesture struct.

public RotateGesture(
  GestureState State,
  double Degrees,
  double Velocity)
ParameterSummary
GestureState StateThe current execution state of the gesture lifecycle.
double DegreesThe cumulative rotation, clockwise positive.
double VelocityThe rotation change in degrees per second.

Properties

Degrees

The cumulative rotation, clockwise positive.

Type: double

public double Degrees { get; init; }

State

The current execution state of the gesture lifecycle.

Type: GestureState

public GestureState State { get; init; }

Velocity

The rotation change in degrees per second.

Type: double

public double Velocity { get; init; }