SimulateRotation(Interactive, Point, Double, Double, Double, Int32) Method

Definition

Assembly HeadlessTestingFramework.dll

Simulates a rotation gesture with two fingers.

public void SimulateRotation(Interactive target, Point centerPoint, double radius, double startAngle, double endAngle, int steps = 10)

Parameters

target
Avalonia.Interactivity.Interactive

The target control to receive the event.

centerPoint
Avalonia.Point

Center point of the rotation.

radius
Double

Radius of the rotation.

startAngle
Double

Starting angle in degrees.

endAngle
Double

Ending angle in degrees.

steps
Int32

Number of intermediate steps.