ResponseRotationArgs

References
public sealed class ResponseRotationArgs
Rotation gesture payload delivered to Responses handlers. Carries the cursor location in both Control and Content coordinate systems plus the per-tick rotation delta in degrees.

Constructors

ResponseRotationArgs

#
public ResponseRotationArgs(
host,
PointF
controlLocation,
PointF
contentLocation,
rotation,
isNewGesture
)

Properties

ContentLocation

#
Cursor location in content-space (the host's projected coordinates).
public PointF ContentLocation { get; }

ControlLocation

#
Cursor location in raw control-space pixels.
public PointF ControlLocation { get; }

IsNewGesture

#
True when this activation appears to start a new rotation session — i.e. the time since the previous activation exceeded the FlexControl-internal gap threshold. Use this to reset per-session accumulators.
public bool IsNewGesture { get; }
Remarks: This is currently inferred from a time-gap heuristic. Once Eto surfaces the underlying gesture state (Began/Changed/Ended), the heuristic will be replaced and this flag will become authoritative.

Rotation

#
Rotation delta for this activation, in degrees. Positive values indicate clockwise rotation. This is the change since the last activation, not the absolute rotation since the gesture began.
public float Rotation { get; }

Methods

Invalidate

#
Schedule a redraw on the hosting control.
public void Invalidate()