toAnimationPart

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.


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.