Packagepegas.draw
Classpublic dynamic class EllipsePen
InheritanceEllipsePen Inheritance Pen Inheritance flash.utils.Proxy

This pen is the tool to draw an elipse vector shape.



Public Properties
 PropertyDefined by
 Inheritedalign : uint
(read-write) Determinates the align value of the pen.
Pen
 Inheritedfill : IFillStyle
Determinates the fill style object of the pen.
Pen
 Inheritedgraphics : Graphics
Specifies the Graphics object belonging to this Shape object, where vector drawing commands can occur.
Pen
  height : Number
The height value of the elipse pen.
EllipsePen
 Inheritedline : ILineStyle
Determinates the line style object of the pen.
Pen
 InheriteduseClear : Boolean = true
Indicates if the clear() method is invoked at the end of the draw method.
Pen
 InheriteduseEndFill : Boolean = true
Indicates if the endFill() method is invoked at the end of the draw method.
Pen
  width : Number
The width value of the elipse pen.
EllipsePen
  x : Number
The offset x value of the center of the circle.
EllipsePen
  y : Number
The offset y value of the center of the circle.
EllipsePen
Public Methods
 MethodDefined by
  
EllipsePen(graphic:*, ... arguments)
Creates a new ElipsePen instance.
EllipsePen
 Inherited
BF(... arguments):void
Defines a shortcut reference to used the beginBitmapFill method.
Pen
 Inherited
C(... arguments):void
Defines a shortcut reference to used the curveTo method.
Pen
 Inherited
CL():void
Defines a shortcut reference to used the clear method.
Pen
  
draw(... arguments):void
Draws the shape.
EllipsePen
  
drawShape():void
This method contains the basic drawing shape algorithm.
EllipsePen
 Inherited
EF():void
Defines a shortcut reference to used the endFill method.
Pen
 Inherited
F(... arguments):void
Defines a shortcut reference to used the beginFill method.
Pen
 Inherited
GF(... arguments):void
Defines a shortcut reference to used the beginGradientFill method.
Pen
 Inherited
GS(... arguments):void
Defines a shortcut reference to used the lineGradientStyle method.
Pen
 Inherited
L(... arguments):void
Defines a shortcut reference to used the lineTo method.
Pen
 Inherited
M(... arguments):void
Defines a shortcut reference to used the moveTo method.
Pen
 Inherited
S(... arguments):void
Defines a shortcut reference to used the lineStyle method.
Pen
  
setPen(... arguments):void
Sets the pen properties.
EllipsePen
 Inherited
toString():String
Returns the string representation of this object.
Pen
Protected Methods
 MethodDefined by
 Inherited
callProperty(methodName:*, ... rest):*
Overrides the behavior of an object property that can be called as a function.
Pen
Property detail
heightproperty
public var height:Number

The height value of the elipse pen.

widthproperty 
public var width:Number

The width value of the elipse pen.

xproperty 
public var x:Number

The offset x value of the center of the circle.

yproperty 
public var y:Number

The offset y value of the center of the circle.

Constructor detail
EllipsePen()constructor
public function EllipsePen(graphic:*, ... arguments)

Creates a new ElipsePen instance.

Parameters
graphic:* — The Graphics reference to control with this helper. You can passed-in a Shape or Sprite/MovieClip reference in argument.
 
... arguments — (optional) A number indicating the horizontal position relative to the registration point of the parent display object (in pixels). .
Method detail
draw()method
public override function draw(... arguments):void

Draws the shape.

Parameters
... arguments — (optional) A number indicating the horizontal position relative to the registration point of the parent display object (in pixels). .
drawShape()method 
public override function drawShape():void

This method contains the basic drawing shape algorithm.

setPen()method 
public function setPen(... arguments):void

Sets the pen properties.

Parameters
... arguments — (optional) A number indicating the horizontal position relative to the registration point of the parent display object (in pixels). .