Known direct subclasses
LayerStyleScope

An interface that introduces the graphics layer property to a Style receiver scope.

Known indirect subclasses
StyleScope

A StyleScope is the receiver scope of a Style lambda.


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

See also
StyleScope

Summary

Public functions

Unit
rotationX(value: Float)

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

Cmn
Unit
rotationY(value: Float)

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

Cmn
Unit
rotationZ(value: Float)

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

Cmn

Extension functions

Unit

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

Cmn

Public functions

rotationX

fun rotationX(value: Float): Unit

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

This property is not inherited

Parameters
value: Float

The rotation angle in degrees.

rotationY

fun rotationY(value: Float): Unit

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

This property is not inherited

Parameters
value: Float

The rotation angle in degrees.

rotationZ

fun rotationZ(value: Float): Unit

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

This property is not inherited

Parameters
value: Float

The rotation angle in degrees.

Extension functions

RotationScope.rotation

@ExperimentalFoundationStyleApi
fun RotationScope.rotation(x: Float, y: Float, z: Float): Unit

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: Float

The x-axis rotation angle in degrees.

y: Float

The x-axis rotation angle in degrees.

z: Float

The x-axis rotation angle in degrees.