SWFShape->drawCurve()
SWFShape->drawCurve - Draws a curve (relative)
Syntax
int SWFShape->drawCurve (
float $controldx,
float $controldy,
float $anchordx,
float $anchordy,
float $targetdx,
float $targetdy)
Arguments
- controldx - Number of seconds to skip.
- controldy - Number of seconds to skip.
- anchordx - Number of seconds to skip.
- anchordy - Number of seconds to skip.
- targetdx - Number of seconds to skip.
- targetdy - Number of seconds to skip.
Description
swfshape->drawcurve() draws a quadratic curve (using the current line style,set by swfshape->setline()) from the current pen position to the relative position ( anchorx, anchory) using relative control point ( controlx, controly). That is, head towards the control point, then smoothly turn to the anchor point.
Version
PHP 4.0.5
Return value