The SWFShape class
Wstęp
SWFShape.
Streszczenie klas
SWFShape
class SWFShape
{
/* Methods */
SWFFill addFill
( int $red
, int $green
, int $blue
[, int $a
] )
SWFShape __construct
( void
)
void drawArc
( float $r
, float $startAngle
, float $endAngle
)
void drawCircle
( float $r
)
int drawCubic
( float $bx
, float $by
, float $cx
, float $cy
, float $dx
, float $dy
)
int drawCubicTo
( float $bx
, float $by
, float $cx
, float $cy
, float $dx
, float $dy
)
int drawCurve
( int $controldx
, int $controldy
, int $anchordx
, int $anchordy
[, int $targetdx
], int $targetdy
)
int drawCurveTo
( int $controlx
, int $controly
, int $anchorx
, int $anchory
[, int $targetx
], int $targety
)
void drawLine
( int $dx
, int $dy
)
void drawLineTo
( int $x
, int $y
)
void movePen
( int $dx
, int $dy
)
void movePenTo
( int $x
, int $y
)
}Spis treści
- SWFShape->addFill — Adds a solid fill to the shape
- SWFShape->__construct — Creates a new shape object
- SWFShape->drawArc — Draws an arc of radius r centered at the current location, from angle startAngle to angle endAngle measured clockwise from 12 o'clock
- SWFShape->drawCircle — Draws a circle of radius r centered at the current location, in a counter-clockwise fashion
- SWFShape->drawCubic — Draws a cubic bezier curve using the current position and the three given points as control points
- SWFShape->drawCubicTo — Draws a cubic bezier curve using the current position and the three given points as control points
- SWFShape->drawCurve — Draws a curve (relative)
- SWFShape->drawCurveTo — Draws a curve
- SWFShape->drawGlyph — Draws the first character in the given string into the shape using the glyph definition from the given font
- SWFShape->drawLine — Draws a line (relative)
- SWFShape->drawLineTo — Draws a line
- SWFShape->movePen — Moves the shape's pen (relative)
- SWFShape->movePenTo — Moves the shape's pen
- SWFShape->setLeftFill — Sets left rasterizing color
- SWFShape->setLine — Sets the shape's line style
- SWFShape->setRightFill — Sets right rasterizing color
SWFShape
There are no user contributed notes for this page.
