geomerative
index
 
Name addQuadTo ( )
Examples
None available
Description Use this method to add a new quadTo command to the current subshape. This will add a quadratic bezier from the last point added with the control and ending points passed as arguments.
Syntax
addQuadTo(cp1x, cp1y, endx, endy);
Parameters
cp1x   float, the x coordinate of the control point of the bezier.
cp1y   float, the y coordinate of the control point of the bezier.
endx   float, the x coordinate of the ending point of the bezier.
endy   float, the y coordinate of the ending point of the bezier.
Returns None
Usage Web & Application
Related addMoveTo ( )
addLineTo ( )
addBezierTo ( )
addSubshape ( )
setSubshape ( )