Packagecom.degrafa.geometry
Classpublic class AdvancedRectangle
InheritanceAdvancedRectangle Inheritance Geometry Inheritance DegrafaObject
ImplementsIGeometry

Used by the CSSSkin for graphics rendering.



Public Properties
 PropertyDefined by
 InheritedautoClearGraphicsTarget : Boolean
When using a graphicsTarget and if this property is set to true the draw phase will clear the graphics context before drawing.
Geometry
  backgroundFill : IFill
AdvancedRectangle
  bottomFill : IFill
AdvancedRectangle
  bottomLeftFill : IFill
AdvancedRectangle
  bottomLeftRadiusX : Number
AdvancedRectangle
  bottomLeftRadiusY : Number
AdvancedRectangle
  bottomRightFill : IFill
AdvancedRectangle
  bottomRightRadiusX : Number
AdvancedRectangle
  bottomRightRadiusY : Number
AdvancedRectangle
  bottomWidth : Number
AdvancedRectangle
 Inheritedbounds : Rectangle
Geometry
 Inheriteddata : String
Allows a short hand property setting that is specific to and parsed by each geometry object.
Geometry
 Inheriteddocument : Object
The MXML document that created this object.
DegrafaObject
 InheritedenableEvents : Boolean
Enable events for this object.
DegrafaObject
 Inheritedfill : IGraphicsFill
Defines the fill object that will be used for rendering this geometry object.
Geometry
 Inheritedgeometry : Array
A array of IGeometryComposition objects.
Geometry
 InheritedgeometryCollection : GeometryCollection
Access to the Degrafa geometry collection object for this geometry object.
Geometry
 InheritedgraphicsTarget : Array
One or more display object's that this Geometry is to be drawn to.
Geometry
 InheritedgraphicsTargetCollection : DisplayObjectCollection
Access to the Degrafa target collection object for this geometry object.
Geometry
 InheritedhasEventManager : Boolean
Tests to see if a EventDispatcher instance has been created for this object.
DegrafaObject
 Inheritedid : String
The identifier used by document to refer to this object.
DegrafaObject
 Inheritedinvalidated : Boolean
Specifies whether this object is to be re calculated on the next cycle.
Geometry
  leftFill : IFill
AdvancedRectangle
  leftWidth : Number
AdvancedRectangle
 Inheritedname : String
The name that refers to this object.
DegrafaObject
  rightFill : IFill
AdvancedRectangle
  rightWidth : Number
AdvancedRectangle
 Inheritedstate : String
The state at which to draw this object
Geometry
 InheritedstateEvent : String
The state event at which to draw this object
Geometry
 Inheritedstroke : IGraphicsStroke
Defines the stroke object that will be used for rendering this geometry object.
Geometry
 InheritedsuppressEventProcessing : Boolean
Temporarily suppress event processing for this object.
DegrafaObject
  topFill : IFill
AdvancedRectangle
  topLeftFill : IFill
AdvancedRectangle
  topLeftRadiusX : Number
AdvancedRectangle
  topLeftRadiusY : Number
AdvancedRectangle
  topRightFill : IFill
AdvancedRectangle
  topRightRadiusX : Number
AdvancedRectangle
  topRightRadiusY : Number
AdvancedRectangle
  topWidth : Number
AdvancedRectangle
Protected Properties
 PropertyDefined by
 InheritedeventDispatcher : EventDispatcher
EventDispatcher instance for this object.
DegrafaObject
Public Methods
 MethodDefined by
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registers an event listener object with an EventDispatcher object so that the listener receives notification of an event.
DegrafaObject
 Inherited
dispatchEvent(evt:Event):Boolean
Dispatches an event into the event flow.
DegrafaObject
 Inherited
dispatchPropertyChange(bubbles:Boolean = false, property:Object = null, oldValue:Object = null, newValue:Object = null, source:Object = null):Boolean
Dispatches an property change event into the event flow.
DegrafaObject
  
draw(graphics:Graphics, rc:Rectangle):void
AdvancedRectangle
 Inherited
endDraw(graphics:Graphics):void
Ends the draw phase for geometry objects.
Geometry
 Inherited
hasEventListener(type:String):Boolean
Checks whether the EventDispatcher object has any listeners registered for a specific type of event.
DegrafaObject
 Inherited
initChange(property:String, oldValue:Object, newValue:Object, source:Object):void
Helper function for dispatching property changes
DegrafaObject
 Inherited
initialized(document:Object, id:String):void
Called after the implementing object has been created and all component properties specified on the MXML tag have been initialized.
DegrafaObject
 Inherited
preDraw():void
Performs any pre calculation that is required to successfully render this element.
Geometry
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Removes a listener from the EventDispatcher object.
DegrafaObject
 Inherited
willTrigger(type:String):Boolean
Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type.
DegrafaObject
Events
 EventSummaryDefined by
 Inherited  DegrafaObject
 Inherited  DegrafaObject
Property detail
backgroundFillproperty
public var backgroundFill:IFill
bottomFillproperty 
public var bottomFill:IFill
bottomLeftFillproperty 
public var bottomLeftFill:IFill
bottomLeftRadiusXproperty 
public var bottomLeftRadiusX:Number
bottomLeftRadiusYproperty 
public var bottomLeftRadiusY:Number
bottomRightFillproperty 
public var bottomRightFill:IFill
bottomRightRadiusXproperty 
public var bottomRightRadiusX:Number
bottomRightRadiusYproperty 
public var bottomRightRadiusY:Number
bottomWidthproperty 
public var bottomWidth:Number
leftFillproperty 
public var leftFill:IFill
leftWidthproperty 
public var leftWidth:Number
rightFillproperty 
public var rightFill:IFill
rightWidthproperty 
public var rightWidth:Number
topFillproperty 
public var topFill:IFill
topLeftFillproperty 
public var topLeftFill:IFill
topLeftRadiusXproperty 
public var topLeftRadiusX:Number
topLeftRadiusYproperty 
public var topLeftRadiusY:Number
topRightFillproperty 
public var topRightFill:IFill
topRightRadiusXproperty 
public var topRightRadiusX:Number
topRightRadiusYproperty 
public var topRightRadiusY:Number
topWidthproperty 
public var topWidth:Number
Method detail
draw()method
public override function draw(graphics:Graphics, rc:Rectangle):voidParameters
graphics:Graphics
 
rc:Rectangle