Packagecom.degrafa
Interfacepublic interface IGraphic
SubinterfacesIGraphicSkin
ImplementorsGeometryGroup, GraphicImage, GraphicPoint, GraphicPointEX, GraphicText

Base interface for Degrafa Graphic objects.



Public Properties
 PropertyDefined by
  fill : IGraphicsFill
IGraphic
  fills : Array
IGraphic
  height : Number
IGraphic
  measuredHeight : Number
[read-only]
IGraphic
  measuredWidth : Number
[read-only]
IGraphic
  name : String
IGraphic
  parent : DisplayObjectContainer
[read-only]
IGraphic
  percentHeight : Number
IGraphic
  percentWidth : Number
IGraphic
  stroke : IGraphicsStroke
IGraphic
  strokes : Array
IGraphic
  target : DisplayObjectContainer
IGraphic
  width : Number
IGraphic
  x : Number
IGraphic
  y : Number
IGraphic
Public Methods
 MethodDefined by
  
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
IGraphic
  
draw(graphics:Graphics, rc:Rectangle):void
IGraphic
  
endDraw(graphics:Graphics):void
IGraphic
  
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
IGraphic
Property detail
fillproperty
fill:IGraphicsFill  [read-write]Implementation
    public function get fill():IGraphicsFill
    public function set fill(value:IGraphicsFill):void
fillsproperty 
fills:Array  [read-write]Implementation
    public function get fills():Array
    public function set fills(value:Array):void
heightproperty 
height:Number  [read-write]Implementation
    public function get height():Number
    public function set height(value:Number):void
measuredHeightproperty 
measuredHeight:Number  [read-only]Implementation
    public function get measuredHeight():Number
measuredWidthproperty 
measuredWidth:Number  [read-only]Implementation
    public function get measuredWidth():Number
nameproperty 
name:String  [read-write]Implementation
    public function get name():String
    public function set name(value:String):void
parentproperty 
parent:DisplayObjectContainer  [read-only]Implementation
    public function get parent():DisplayObjectContainer
percentHeightproperty 
percentHeight:Number  [read-write]Implementation
    public function get percentHeight():Number
    public function set percentHeight(value:Number):void
percentWidthproperty 
percentWidth:Number  [read-write]Implementation
    public function get percentWidth():Number
    public function set percentWidth(value:Number):void
strokeproperty 
stroke:IGraphicsStroke  [read-write]Implementation
    public function get stroke():IGraphicsStroke
    public function set stroke(value:IGraphicsStroke):void
strokesproperty 
strokes:Array  [read-write]Implementation
    public function get strokes():Array
    public function set strokes(value:Array):void
targetproperty 
target:DisplayObjectContainer  [read-write]Implementation
    public function get target():DisplayObjectContainer
    public function set target(value:DisplayObjectContainer):void
widthproperty 
width:Number  [read-write]Implementation
    public function get width():Number
    public function set width(value:Number):void
xproperty 
x:Number  [read-write]Implementation
    public function get x():Number
    public function set x(value:Number):void
yproperty 
y:Number  [read-write]Implementation
    public function get y():Number
    public function set y(value:Number):void
Method detail
addEventListener()method
public function addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):voidParameters
type:String
 
listener:Function
 
useCapture:Boolean (default = false)
 
priority:int (default = 0)
 
useWeakReference:Boolean (default = false)
draw()method 
public function draw(graphics:Graphics, rc:Rectangle):voidParameters
graphics:Graphics
 
rc:Rectangle
endDraw()method 
public function endDraw(graphics:Graphics):voidParameters
graphics:Graphics
removeEventListener()method 
public function removeEventListener(type:String, listener:Function, useCapture:Boolean = false):voidParameters
type:String
 
listener:Function
 
useCapture:Boolean (default = false)