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
YAHOO.util.CustomEvent

Method Summary [top]

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

Method Detail [top]

getPosition

Array getPosition (&l<Number> t;Array> points, t)
Get the current position of the animated element based on t. 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.
Parameters:
points - An array containing Bezier points
t - A number between 0 and 1 which is the basis for determining current position
Returns:
An array containing int x and y member data