Table of Contents

Property DoubleTapZoomFactor

Namespace
SkiaSharp.Extended
Assembly
SkiaSharp.Extended.dll

DoubleTapZoomFactor

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

public float DoubleTapZoomFactor { get; set; }

Property Value

float

The zoom multiplier per double-tap. The default is 2.0. Must be positive.

Remarks

When the current scale is at or near MaxScale, a double-tap animates the scale back to 1.0 instead of zooming further.

Exceptions

ArgumentOutOfRangeException

value is zero or negative.