La classe SWFShape
Introduction
SWFShape.
Synopsis de la classe
SWFShape
{
/* Méthodes */
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
( 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 drawLine
( float $dx
, float $dy
)
void drawLineTo
( float $x
, float $y
)
void movePen
( float $dx
, float $dy
)
void movePenTo
( float $x
, float $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.
