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

rotation

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

rotation

Source set: Common
public fun RotationScope.rotation(x: Float, y: Float, z: Float)

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

This property is not inherited

Parameters

x The x-axis rotation angle in degrees.
y The x-axis rotation angle in degrees.
z The x-axis rotation angle in degrees.

Content updated: