public class BezierTransition extends TransitionAnimationBinding
Constructor and Description |
---|
BezierTransition(PropertyAnimation xProperty,
PropertyAnimation yProperty,
float controlX,
float controlY)
Creates a quadratic Bezier transition.
|
Modifier and Type | Method and Description |
---|---|
void |
collectTransitioningProperties(ArrayList<PropertyAnimation> outList)
Collects the set of
PropertyAnimation s that this animation will animate. |
protected void |
setupBinding(Resolver resolver)
Subclasses should set up their animation by creating a graph that defines how data will flow
to relevant
AnimatedPropertyNode s. |
addBinding, addBinding, addListener, isActive, removeListener, start, stop
public BezierTransition(PropertyAnimation xProperty, PropertyAnimation yProperty, float controlX, float controlY)
public void collectTransitioningProperties(ArrayList<PropertyAnimation> outList)
AnimationBinding
PropertyAnimation
s that this animation will animate. This is used
to make sure before/after values are recorded and accessible for the animation. Implementations
should add their animating properties to this set.
Note: This is a 'collect' call instead of a getter to allocating more sets then necessary for
animations with nested animation (e.g. a sequence of animations). Yay Java.protected void setupBinding(Resolver resolver)
TransitionAnimationBinding
AnimatedPropertyNode
s.setupBinding
in class TransitionAnimationBinding