The SWFShape class
(Информация о версии неизвестна, возможно, только в SVN)
Введение
SWFShape.
Обзор классов
SWFShape {
/* Методы */
SWFFill addFill ( int $red , int $green , int $blue [, int $alpha = 255 ] )
__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 ( float $controldx , float $controldy , float $anchordx , float $anchordy [, float $targetdx ], float $targetdy )
int drawCurveTo ( float $controlx , float $controly , float $anchorx , float $anchory [, float $targetx ], float $targety )
void drawGlyph ( SWFFont $font , string $character [, int $size ] )
void drawLine ( float $dx , float $dy )
void drawLineTo ( float $x , float $y )
void movePen ( float $dx , float $dy )
void movePenTo ( float $x , float $y )
void setLeftFill ( SWFGradient $fill )
void setLine ( SWFShape $shape )
void setRightFill ( SWFGradient $fill )
}
Содержание
- 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, примеры использования класса swfshape.
Смотрите также:
Описание на ru2.php.net
Описание на php.ru