La classe SWFShape
Introduction
SWFShape.
Synopsis de la classe
SWFShape
class SWFShape
{
/* Méthodes */
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
)
}Sommaire
- SWFShape->addFill() — Ajoute un motif solide à la forme
- SWFShape->__construct() — Crée un nouvel objet SWFShape
- SWFShape->drawArc() — Trace un arc de cercle entre deux angles
- SWFShape->drawCircle() — Trace un cercle, centré sur la position courante
- SWFShape->drawCubic() — Trace une courbe de Bézier en utilisant la position courante et les trois points de contrôle
- SWFShape->drawCubicTo() — Trace une courbe de Bézier en utilisant la position courante et les trois points de contrôle
- SWFShape->drawCurve() — Trace une courbe (relative)
- SWFShape->drawCurveTo() — Trace une courbe
- SWFShape->drawGlyph() — Dessine le premier caractère d'une chaîne donnée dans la forme en utilisant la définition du glyphe pour la police donnée
- SWFShape->drawLine() — Trace une ligne (relative)
- SWFShape->drawLineTo() — Trace une ligne
- SWFShape->movePen() — Déplace le stylo
- SWFShape->movePenTo() — Déplace le stylo dans la forme
- SWFShape->setLeftFill() — Définit la couleur de la trame de gauche
- SWFShape->setLine() — Définit le style de la forme d'une ligne
- SWFShape->setRightFill() — Définit la couleur de la trame de droite
SWFShape
There are no user contributed notes for this page.
