SWFShape クラス
導入
SWFShape.
クラス概要
SWFShape
SWFShape
{
/* メソッド */
SWFFill addFill
( int $red
, int $green
, int $blue
[, int $alpha = 255
] )
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
)
}目次
- SWFShape->addFill — 塗りつぶし色を図形に追加する
- SWFShape->__construct — 新しい図形オブジェクトを作成する
- SWFShape->drawArc — 現在の位置を中心とした半径 r の円弧を、12 時の方向から時計回りに 数えた角度 startAngle から endAngle まで描く
- SWFShape->drawCircle — 現在の位置を中心とした半径 r の円を、反時計回りに描く
- SWFShape->drawCubic — 現在の位置および指定した三つの制御点を使用して 三次ベジエ曲線を描く
- SWFShape->drawCubicTo — 現在の位置および指定した三つの制御点を使用して 三次ベジエ曲線を描く
- SWFShape->drawCurve — 曲線を描く (相対座標)
- SWFShape->drawCurveTo — 曲線を描く
- SWFShape->drawGlyph — 指定したフォントのグリフ定義を使用して、 指定した文字列の最初の文字を図形の中に描く
- SWFShape->drawLine — 線を描く (相対座標)
- SWFShape->drawLineTo — 線を描く
- SWFShape->movePen — 図形のペンを移動する(相対座標)
- SWFShape->movePenTo — 図形のペンを移動する
- SWFShape->setLeftFill — 左ラスタ色を設定する
- SWFShape->setLine — 図形の線種を設定する
- SWFShape->setRightFill — 右ラスタ色を設定する
SWFShape
There are no user contributed notes for this page.
