🌈 Create new beautiful Compose Gradients with our new wesite ->
Compose Modifier

transformable

Enable transformation gestures of the modified UI element.

TransformableSample

@Sampled
@Composable
fun TransformableSample() {
    /**
     * Rotates the given offset around the origin by the given angle in degrees.
     *
     * A positive angle indicates a counterclockwise rotation around the right-handed 2D Cartesian
     * coordinate system.
     *
     * See: [Rotation matrix](https://en.wikipedia.org/wiki/Rotation_matrix)
     */

TransformableSampleInsideScroll

@Sampled
@Composable
fun TransformableSampleInsideScroll() {
    /**
     * Rotates the given offset around the origin by the given angle in degrees.
     *
     * A positive angle indicates a counterclockwise rotation around the right-handed 2D Cartesian
     * coordinate system.
     *
     * See: [Rotation matrix](https://en.wikipedia.org/wiki/Rotation_matrix)
     */