کلاس SWFShape
Introduction
SWFShape.
Class synopsis
SWFShape
{
/* Methods */
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
)
}Table of Contents
- SWFShape->addFill — Adds a solid fill to the shape
- SWFShape->__construct — ساخت شی جدید shape
- SWFShape->drawArc — رسم کمان با شعاع r به مرکزیت موقعیت فعلی با شروع از startAngle تا endAngle به صورت ساعتگرد از ساعت ۱۲
- SWFShape->drawCircle — رسم دایره با شعاع r به مرکز موقعیت فعلی به صورت پاد ساعتگرد
- SWFShape->drawCubic — رسم منحنی مکعبی bezier با استفاده از موقعیت فعلی و سه نقطه کنترلی داده شده
- SWFShape->drawCubicTo — رسم منحنی مکعبی bezier با استفاده از نقطه فعلی و سه نقطه کنترلی داده شده
- 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 — تعیین رنگ rasterizing راست
There are no user contributed notes for this page.
