DoubleTapZoom(Interactive, Point, Double, Int32) Method

Definition

Assembly HeadlessTestingFramework.dll

Simulates a double-tap-and-zoom gesture (common iOS/Android pattern).

public void DoubleTapZoom(Interactive target, Point position, double zoomScale = 2, int steps = 10)

Parameters

target
Avalonia.Interactivity.Interactive

The target control to receive the event.

position
Avalonia.Point

Position of the gesture.

zoomScale
Double

Zoom scale factor.

steps
Int32

Animation steps.