animateRotateBy
Function
Common
suspend fun TransformableState.animateRotateBy(
degrees: Float,
animationSpec: AnimationSpec<Float> = SpringSpec(stiffness = Spring.StiffnessLow),
)
Animate rotate by a ratio of degrees
clockwise and suspend until its finished.
Parameters
degrees | the degrees by which to rotate clockwise |
animationSpec | AnimationSpec to be used for animation |