androidx.compose.ui.draw

rotate

Function · from org.jetbrains.compose.ui:ui:1.12.2

No hand-written docs yet.

Sets the degrees the view is rotated around the center of the composable. Increasing values result in clockwise rotation. Negative degrees are used to rotate in the counter clockwise direction

Parameters

fun Modifier.rotate(degrees: Float)

degrees: FloatRequired

Not described.

Library docs

Sets the degrees the view is rotated around the center of the composable. Increasing values result in clockwise rotation. Negative degrees are used to rotate in the counter clockwise direction

Usage of this API renders this composable into a separate graphics layer.