| Package | pegas.draw |
| Class | public dynamic class CirclePen |
| Inheritance | CirclePen Pen flash.utils.Proxy |
| Property | Defined by | ||
|---|---|---|---|
![]() | align : uint
(read-write) Determinates the align value of the pen.
| Pen | |
![]() | fill : IFillStyle
Determinates the fill style object of the pen.
| Pen | |
![]() | graphics : Graphics
Specifies the Graphics object belonging to this Shape object, where vector drawing commands can occur.
| Pen | |
![]() | line : ILineStyle
Determinates the line style object of the pen.
| Pen | |
| radius : Number
The radius value of the circle pen.
| CirclePen | ||
![]() | useClear : Boolean = true
Indicates if the clear() method is invoked at the end of the draw method.
| Pen | |
![]() | useEndFill : Boolean = true
Indicates if the endFill() method is invoked at the end of the draw method.
| Pen | |
| x : Number
The offset x value of the center of the circle.
| CirclePen | ||
| y : Number
The offset y value of the center of the circle.
| CirclePen | ||
| Method | Defined by | ||
|---|---|---|---|
|
CirclePen(graphic:*, ... arguments)
The Pen class use composition to control a Graphics reference and draw custom vector graphic shapes.
| CirclePen | ||
![]() |
BF(... arguments):void
Defines a shortcut reference to used the
beginBitmapFill method. | Pen | |
![]() |
C(... arguments):void
Defines a shortcut reference to used the
curveTo method. | Pen | |
![]() |
CL():void
Defines a shortcut reference to used the
clear method. | Pen | |
|
draw(... arguments):void
Draws the shape.
| CirclePen | ||
|
drawShape():void
This method contains the basic drawing shape algorithm.
| CirclePen | ||
![]() |
EF():void
Defines a shortcut reference to used the
endFill method. | Pen | |
![]() |
F(... arguments):void
Defines a shortcut reference to used the
beginFill method. | Pen | |
![]() |
GF(... arguments):void
Defines a shortcut reference to used the
beginGradientFill method. | Pen | |
![]() |
GS(... arguments):void
Defines a shortcut reference to used the
lineGradientStyle method. | Pen | |
![]() |
L(... arguments):void
Defines a shortcut reference to used the
lineTo method. | Pen | |
![]() |
M(... arguments):void
Defines a shortcut reference to used the
moveTo method. | Pen | |
![]() |
S(... arguments):void
Defines a shortcut reference to used the
lineStyle method. | Pen | |
|
setPen(... arguments):void
Sets the pen properties.
| CirclePen | ||
![]() |
toString():String
Returns the string representation of this object.
| Pen | |
| radius | property |
public var radius:NumberThe radius value of the circle pen.
| x | property |
public var x:NumberThe offset x value of the center of the circle.
| y | property |
public var y:NumberThe offset y value of the center of the circle.
| CirclePen | () | constructor |
public function CirclePen(graphic:*, ... arguments)The Pen class use composition to control a Graphics reference and draw custom vector graphic shapes.
Parametersgraphic:* — The Graphics reference to control with this helper. You can passed-in a Shape or Sprite/MovieClip reference in argument.
|
|
... arguments — (optional)The x location of the center of the circle relative to the registration point of the parent display object (in pixels).
|
| draw | () | method |
public override function draw(... arguments):voidDraws the shape.
Parameters... arguments — (optional)The x location of the center of the circle relative to the registration point of the parent display object (in pixels).
|
| drawShape | () | method |
public override function drawShape():voidThis method contains the basic drawing shape algorithm.
| setPen | () | method |
public function setPen(... arguments):voidSets the pen properties.
Parameters... arguments — (optional)The x location of the center of the circle relative to the registration point of the parent display object (in pixels).
|