Class YAHOO.util.Bezier

Object
   |
   +--YAHOO.util.Bezier

class YAHOO.util.Bezier
Requires:
YAHOO.util.AnimMgr
YAHOO.util.Easing
YAHOO.util.Dom
YAHOO.util.Event

Method Summary [top]

object getPosition (&l<float> t;array> points, t)
Get the current position of the animated element based on t. 

Method Detail [top]

getPosition

object getPosition (&l<float> t;array> points, t)
Get the current position of the animated element based on t.
Parameters:
points - An array containing Bezier points. Each point is an array of "x" and "y" values (0 = x, 1 = y) At least 2 points are required (start and end). First point is start. Last point is end. Additional control points are optional.
t - Basis for determining current position (0 < t < 1)
Returns:
An object containing int x and y member data