TouchpadMagnify(Interactive, Vector, Point, KeyModifiers) Method

Definition

Assembly HeadlessTestingFramework.dll

Simulates a touchpad magnify gesture (e.g., macOS pinch-to-zoom on trackpad).

public void TouchpadMagnify(Interactive target, Vector delta, Point position, KeyModifiers modifiers = KeyModifiers.None)

Parameters

target
Avalonia.Interactivity.Interactive

The target control to receive the event.

delta
Avalonia.Vector

Magnification delta.

position
Avalonia.Point

Position of the gesture.

modifiers
Avalonia.Input.KeyModifiers

Key modifiers.