toggle menu
KAHelpers
androidJvm
switch theme
search in API
animations
/
dev.funkymuse.animations
/
rotate
rotate
fun
View
.
rotate
(
initRotation
:
Int
?
=
null
,
rotation
:
Int
=
0
,
initAlpha
:
Float
?
=
null
,
alpha
:
Float
=
1.0f
,
startDelay
:
Long
=
0
,
build
:
ViewPropertyAnimator
.
(
)
->
Unit
?
=
null
)
fun
View
.
rotate
(
rotation
:
Float
,
animated
:
Boolean
=
true
,
animationDuration
:
Long
=
400
,
startDelay
:
Long
=
0
,
interpolator
:
Interpolator
=
AccelerateDecelerateInterpolator()
)