rotate

fun rotate(angleDegrees: Float): Animator

Sets the target rotation angle animation value

NOTE: The changing this parameters during the animation is blocked

Return

the current Animator object

Parameters

angleDegrees

target rotation angle 0,360


fun rotate(angleDegrees: Float, px: Float, py: Float, pivot: Pivot): Animator

Sets the target rotation angle animation value

NOTE: The changing this parameters during the animation is blocked

Return

the current Animator object

Parameters

angleDegrees

target rotation angle 0,360

px

rotation center x coordinate pixel

py

rotation center y coordinate pixel

pivot

the transformation pivot type


fun rotate(angleDegrees: Float, px: Float, py: Float): Animator

Sets the target rotation angle animation value

NOTE: The changing this parameters during the animation is blocked

Return

the current Animator object

Parameters

angleDegrees

target rotation angle 0,360

px

rotation center x coordinate pixel

py

rotation center y coordinate pixel