rotate
Source set: JvmAndAndroid
public fun RemoteModifier.rotate(degrees: RemoteFloat): RemoteModifier
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.
Example of rotating a box clockwise around its center:
Parameters
| degrees | Degrees to rotate the content. |
Return
a RemoteModifier that rotates the content by degrees