Packagegraphics.drawing
Interfacepublic interface IPen extends Drawable
Implementors Pen

This interface defined the IPen implementation to creates shaped in Shape, Sprite and MovieClip objects.



Public Properties
 PropertyDefined By
  align : uint
Determinates the align value of the pen.
IPen
  fill : IFillStyle
Determinates the fill style object of the pen.
IPen
  graphics : *
Specifies the Graphics object belonging to this Shape object, where vector drawing commands can occur.
IPen
  line : ILineStyle
Determinates the line style object of the pen.
IPen
Public Methods
 MethodDefined By
 Inherited
draw(... arguments):void
Draws the shape or the view of the object.
Drawable
  
drawShape():void
This method contains the basic drawing shape algorithm.
IPen
Property Detail
alignproperty
align:uint

Determinates the align value of the pen.


Implementation
    public function get align():uint
    public function set align(value:uint):void
fillproperty 
fill:IFillStyle

Determinates the fill style object of the pen.


Implementation
    public function get fill():IFillStyle
    public function set fill(value:IFillStyle):void
graphicsproperty 
graphics:*

Specifies the Graphics object belonging to this Shape object, where vector drawing commands can occur.


Implementation
    public function get graphics():*
    public function set graphics(value:any):void
lineproperty 
line:ILineStyle

Determinates the line style object of the pen.


Implementation
    public function get line():ILineStyle
    public function set line(value:ILineStyle):void
Method Detail
drawShape()method
public function drawShape():void

This method contains the basic drawing shape algorithm.