ZoomImageParams Constructor
constructor(minScale: Float, tapScale: Float, maxScale: Float, scrollPadding: PaddingValues)
Parameters
- minScale — the smallest scale the user can zoom out to, or
Float.NaN to stop at the scale that fits the image to the view. - tapScale — the scale a double tap zooms to.
- maxScale — the largest scale the user can zoom in to, or
Float.NaN for the fitted scale. - scrollPadding — space kept between the image and the edges of the view, so a zoomed image can be panned clear of surrounding controls.