TransformScope
Interface
Common
@JvmDefaultWithCompatibility
interface TransformScope
Scope used for suspending transformation operations
Functions
fun transformBy(
zoomChange: Float = 1f,
panChange: Offset = Offset.Zero,
rotationChange: Float = 0f,
)
Attempts to transform by zoomChange
in relative multiplied value, by panChange
in pixels
and by rotationChange
in degrees.
Parameters
zoomChange | scale factor multiplier change for zoom |
panChange | panning offset change, in Offset pixels |
rotationChange | change of the rotation in degrees |