Zoomable Content Transformation
Graphics transformations generated by Modifier.zoomable when pan & zoom gestures are received.
By default, these are automatically applied by Modifier.zoomable() to its content, but this can be disabled using ZoomableState.autoApplyTransformations if you prefer applying them in a bespoke manner.
Types
Properties
The size of the zoomable content that is currently known to Modifier.zoomable. This is calculated using the value given to ZoomableState.setContentLocation and may be one frame behind the UI. Useful for synchronizing other elements with the zoomable content.
Whether this object contains non-placeholder values. This will be false when Modifier.zoomable is initializing and sufficient information to position and show its content is not yet available.
Inverse of isSpecified.
The rotation of the zoomable content around the z-axis. This parameter is currently unused and defaults to 0, but may be used in the future if Modifier.zoomable adds support for rotation gestures.
The scale of the zoomable content along the x and y axes, generated in response to zoom gestures. This value represents the scaling factor that should be applied to the content to achieve the desired zoom level.