Interface

RotationScope

An interface that introduces the rotation properties to a Style receiver scope.

Source set: Common
@Deprecated(
    DeprecatedStyleScope,
    replaceWith = ReplaceWith(""),
    level = DeprecationLevel.WARNING,
)
public interface RotationScope

An interface that introduces the rotation properties to a Style receiver scope.

Functions

rotationX

Source set: Common
public fun rotationX(value: Float)

Rotates the component around the X-axis through its center.

This property is not inherited

Parameters

value The rotation angle in degrees.

rotationY

Source set: Common
public fun rotationY(value: Float)

Rotates the component around the Y-axis through its center.

This property is not inherited

Parameters

value The rotation angle in degrees.

rotationZ

Source set: Common
public fun rotationZ(value: Float)

Rotates the component around the Z-axis (perpendicular to the screen) through its center.

This property is not inherited

Parameters

value The rotation angle in degrees.
Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: