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

Definition

Assembly HeadlessTestingFramework.dll

Simulates a pinch rotation gesture.

public void PinchRotate(Interactive target, Point origin, double startAngle, double endAngle, int steps = 10)

Parameters

target
Avalonia.Interactivity.Interactive

The target control to receive the event.

origin
Avalonia.Point

Center point of the rotation.

startAngle
Double

Starting angle in degrees.

endAngle
Double

Ending angle in degrees.

steps
Int32

Number of intermediate steps.