Rotate(AvaloniaDriver, AvaloniaElement, Double, Int32) Method

Definition

Assembly HeadlessTestingFramework.dll

Performs a two-finger rotation gesture.

public static void Rotate(AvaloniaDriver driver, AvaloniaElement element, double degrees, int durationMs = 300)

Parameters

driver
AvaloniaDriver

The driver.

element
AvaloniaElement

The element to rotate.

degrees
Double

Rotation in degrees.

durationMs
Int32

Duration in milliseconds.