library / com.otaliastudios.zoom / ZoomApi / realZoom

realZoom

abstract val realZoom: Float

Gets the current zoom value, including the base zoom that was eventually applied when initializing to respect the "center inside" policy. This will match the scaleX - scaleY values you get into the Matrix, and is the actual scale value of the content from its original size.

Return
the real zoom

See Also

zoom