Table of Contents

Class SKGestureTrackerOptions

Namespace
SkiaSharp.Extended
Assembly
SkiaSharp.Extended.dll

Configuration options for SKGestureTracker. Inherits gesture detection thresholds from SKGestureDetectorOptions and adds tracker-specific settings for transform limits, animation, and feature toggles.

public class SKGestureTrackerOptions : SKGestureDetectorOptions
Inheritance
SKGestureTrackerOptions
Inherited Members

Remarks

Constructors

SKGestureTrackerOptions()

Properties

DoubleTapZoomFactor

Gets or sets the multiplicative zoom factor applied when a double-tap is detected.

FlingFrameInterval

Gets or sets the fling animation frame interval.

FlingFriction

Gets or sets the fling friction coefficient that controls deceleration speed.

FlingMinVelocity

Gets or sets the minimum velocity, in pixels per second, below which the fling animation stops.

IsDoubleTapEnabled

Gets or sets a value indicating whether double-tap detection is enabled.

IsDoubleTapZoomEnabled

Gets or sets a value indicating whether double-tap triggers an animated zoom.

IsFlingEnabled

Gets or sets a value indicating whether fling (inertia) animation is enabled after pan gestures.

IsHoverEnabled

Gets or sets a value indicating whether hover (mouse move without contact) detection is enabled.

IsLongPressEnabled

Gets or sets a value indicating whether long press detection is enabled.

IsPanEnabled

Gets or sets a value indicating whether pan gestures update the tracker's offset.

IsPinchEnabled

Gets or sets a value indicating whether pinch-to-zoom gestures update the tracker's scale.

IsRotateEnabled

Gets or sets a value indicating whether rotation gestures update the tracker's rotation.

IsScrollZoomEnabled

Gets or sets a value indicating whether scroll-wheel events trigger zoom.

IsTapEnabled

Gets or sets a value indicating whether tap detection is enabled.

MaxScale

Gets or sets the maximum allowed zoom scale.

MinScale

Gets or sets the minimum allowed zoom scale.

ScrollZoomFactor

Gets or sets the scale sensitivity for mouse scroll-wheel zoom.

ZoomAnimationDuration

Gets or sets the duration of the double-tap zoom animation.

ZoomAnimationInterval

Gets or sets the zoom animation frame interval.

Methods

SetScaleRange(float, float)

Sets both MinScale and MaxScale atomically, avoiding ordering-dependent validation errors when the desired range lies entirely outside the current default range of [0.1, 10].