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

Definition

Assembly HeadlessTestingFramework.dll

Simulates a complete touchpad magnify sequence (zoom in or out).

public void TouchpadMagnifySequence(Interactive target, Point position, double totalMagnification, 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.

totalMagnification
Double

Total magnification amount (positive = zoom in, negative = zoom out).

steps
Int32

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

modifiers
Avalonia.Input.KeyModifiers

Key modifiers.