CAAT.Path
CAAT.CurvePath
A curve path can be either a quadric or cubir bezier or a Catmull-Rom curve.
Quadric Bezier
var path= new CAAT.PathUtil.CurvePath(). setQuadric( p0x,p0y, p1x,p1y, p2x,p2y );
Cubic Bezier
var path= new CAAT.PathUtil.CurvePath(). setCubic( p0x,p0y, p1x,p1y, p2x,p2y, p3x,p3y );
This object, besides the method getPosition(time) has a method getPositionFromLength(time) which calculates a position on the path relative to the path's length.
This object exists for backwards compatibility, instead look at CAAT.PathUtil.Path object.