| Package | graphics.drawing |
| Class | public dynamic class ArcPen |
| Inheritance | ArcPen Pen flash.utils.Proxy |
| Property | Defined By | ||
|---|---|---|---|
![]() | align : uint
Determinates the align value of the pen. | Pen | |
| angle : Number
Indicates the value of the angle used to draw an arc shape. | ArcPen | ||
![]() | fill : IFillStyle
Determinates the fill style object of the pen. | Pen | |
![]() | 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
Defines the radius value of the arc shape. | ArcPen | ||
| startAngle : Number
Defines the value of the start angle to draw the arc in the display reference. | ArcPen | ||
| type : String
Defines the type of the arc, can be a chord or a pie arc. | ArcPen | ||
![]() | 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
Defines the x origin position of the arc shape. | ArcPen | ||
| y : Number
Defines the y origin position of the arc shape. | ArcPen | ||
| yRadius : Number
Defines the y origin position of the arc radius. | ArcPen | ||
| Method | Defined By | ||
|---|---|---|---|
ArcPen(graphic:*, angle:Number = 360, radius:Number = 100, x:Number = 0, y:Number = 0, startAngle:Number = 0, yRadius:Number, type:String = pie, align:uint = 10)
Creates a new ArcPen instance. | ArcPen | ||
![]() | 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(... args):void [override]
Draws the shape in the movieclip reference of this pen. | ArcPen | ||
drawShape():void [override]
This method contains the basic drawing shape algorithm. | ArcPen | ||
![]() | 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(... args):void
Sets the arc options to defined all values to draw the arc shape in the movieclip reference of this pen. | ArcPen | ||
| angle | property |
angle:NumberIndicates the value of the angle used to draw an arc shape.
public function get angle():Number public function set angle(value:Number):void| radius | property |
public var radius:NumberDefines the radius value of the arc shape.
| startAngle | property |
startAngle:NumberDefines the value of the start angle to draw the arc in the display reference.
public function get startAngle():Number public function set startAngle(value:Number):void| type | property |
type:StringDefines the type of the arc, can be a chord or a pie arc.
public function get type():String public function set type(value:String):voidSee also
| x | property |
public var x:NumberDefines the x origin position of the arc shape.
| y | property |
public var y:NumberDefines the y origin position of the arc shape.
| yRadius | property |
public var yRadius:NumberDefines the y origin position of the arc radius.
| ArcPen | () | Constructor |
public function ArcPen(graphic:*, angle:Number = 360, radius:Number = 100, x:Number = 0, y:Number = 0, startAngle:Number = 0, yRadius:Number, type:String = pie, align:uint = 10)Creates a new ArcPen instance.
Parametersgraphic:* — The Graphics reference to control with this helper. You can passed-in a Shape or Sprite/MovieClip reference in argument.
| |
angle:Number (default = 360) — (optional) The angle of the arc pen. (default 360)
| |
radius:Number (default = 100) — (optional) The radius value of the arc. (default 100)
| |
x:Number (default = 0) — (optional) The x position of the center of the arc. (default 0)
| |
y:Number (default = 0) — (optional) The y position of the center of the arc. (default 0)
| |
startAngle:Number (default = 0) — (optional) The start angle of the pen. (default 0)
| |
yRadius:Number (default = NaN) — (optional) The y radius value of the pen. (default NaN)
| |
type:String (default = pie) — (optional) The ArcType of the pen. (default ArcType.PIE)
| |
align:uint (default = 10) — (optional) The align value of the pen. (default Align.TOP_LEFT)
|
| draw | () | method |
override public function draw(... args):voidDraws the shape in the movieclip reference of this pen.
Parameters
... args — (optional) The angle of the arc pen.
|
| drawShape | () | method |
override public function drawShape():voidThis method contains the basic drawing shape algorithm.
| setPen | () | method |
public function setPen(... args):voidSets the arc options to defined all values to draw the arc shape in the movieclip reference of this pen.
Parameters
... args — (optional) The angle of the arc pen.
|