com.haxepunk.tweens.motion.QuadMotion
- type
- class
- extends
- Motion
Determines motion along a quadratic curve.
Constructor
- parameters
complete Optional completion callback.
type Tween type.
- parameters
fromX X start.
fromY Y start.
controlX X control, used to determine the curve.
controlY Y control, used to determine the curve.
toX X finish.
toY Y finish.
duration Duration of the movement.
ease Optional easer function.
- parameters
fromX X start.
fromY Y start.
controlX X control, used to determine the curve.
controlY Y control, used to determine the curve.
toX X finish.
toY Y finish.
speed Speed of the movement.
ease Optional easer function.