to Animation Part
Creates an AnimationPart from a String
Return
The AnimationPart instance associated with the input text.
Since
2.0.0
Parameters
text
The String that will be the value of the AnimationPart.
abstract fun toAnimationPart(animation: Animation): AnimationPart<Animation>
Content copied to clipboard
Creates an AnimationPart from an Animation
Return
The AnimationPart instance associated with the input text.
Since
2.0.0
Parameters
animation
The Animation that will be the value of the AnimationPart.