Zoom Spec
class ZoomSpec(val maximum: ZoomLimit = ZoomLimit(factor = 2f, overzoomEffect = OverzoomEffect.RubberBanding), val minimum: ZoomLimit = ZoomLimit(factor = 1f, overzoomEffect = OverzoomEffect.RubberBanding))
Also see: DynamicZoomSpec.
Constructors
Link copied to clipboard
constructor(maxZoomFactor: Float = 2.0f, minZoomFactor: Float = 1.0f, overzoomEffect: OverzoomEffect = OverzoomEffect.RubberBanding)
Properties
Link copied to clipboard
Link copied to clipboard
The minimum zoom level relative to the content's base scale. The base scale is calculated using the content's original size and the content scale. For example, a factor of 1.0 ensures the content cannot be zoomed out beyond this base scale.
Link copied to clipboard