rotate
open fun rotate(angleDegrees: Float, px: Float, py: Float, pivot: Pivot = Pivot.RelativeToSelf): UIElement
Sets the rotation angle for the ui element
NOTE: The behaviour of changing this parameters during an animation is unpredicted
Return
the current UIElement object
Parameters
angle Degrees
rotation angle 0,360
px
rotation pivot x coordinate pixel
py
rotation pivot y coordinate pixel
pivot
the transformation pivot type
Sets the rotation angle for the ui element
NOTE: The behaviour of changing this parameters during an animation is unpredicted
Return
the current UIElement object
Parameters
angle Degrees
rotation angle 0,360