TouchpadRotateSequence(Interactive, Point, Double, Int32, KeyModifiers) Method

Definition

Assembly HeadlessTestingFramework.dll

Simulates a complete touchpad rotation sequence.

public void TouchpadRotateSequence(Interactive target, Point position, double totalAngle, int steps = 10, KeyModifiers modifiers = KeyModifiers.None)

Parameters

target
Avalonia.Interactivity.Interactive

The target control to receive the event.

position
Avalonia.Point

Position of the gesture.

totalAngle
Double

Total rotation angle in degrees.

steps
Int32

Number of intermediate steps (must be greater than 0).

modifiers
Avalonia.Input.KeyModifiers

Key modifiers.