Contents

zoomRange

A floating-point range that specifies the minimum and maximum scale factor that can apply to the canvas’ content.

Declaration

@MainActor @preconcurrency var zoomRange: ClosedRange<CGFloat> { get set }

Discussion

The default value is 1.0...1.0.

See Also

Scrolling and zooming