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

Used by the CSSSkin for graphics rendering.



Public Properties
 PropertyDefined by
 Inheritedalpha : Number
The alpha setting that applies to this object.
Geometry
 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
  bottom : Number
[write-only]
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
The tight bounds of this element as represented by a Rectangle.
Geometry
 InheritedclippingRectangle : Rectangle
A clipping rectangle to use when rendering this geometry.
Geometry
 InheritedcommandStack : CommandStack
Provides access to the command stack.
Geometry
 InheritedcurrentState : String
The current view state.
Geometry
 Inheriteddata : Object
Allows a short hand property setting that is specific to and parsed by each geometry object.
Geometry
 InheriteddecoratorCollection : DecoratorCollection
Access to the Decorator collection object for this Geometry object.
Geometry
 Inheriteddecorators : Array
A array of IDecorator objects to be applied on this Geometry.
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
 Inheritedfilters : Array
An array of BitmapFilter objects applied to this Geometry.
Geometry
 InheritedgeometricLength : Number
Returns geometric length of this 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
 InheritedhasDecorators : Boolean
Returns true if this Geometry has decorators.
Geometry
 InheritedhasEventManager : Boolean
Tests to see if a EventDispatcher instance has been created for this object.
DegrafaObject
 InheritedhasFilters : Boolean
Returns true if this Geometry has filters.
Geometry
 InheritedhasLayout : Boolean
Returns true if this Geometry has layout.
Geometry
 InheritedhasStates : Boolean
Returns true if this Geometry has states.
Geometry
 InheritedhasTriggers : Boolean
Returns true if this Geometry has triggers.
Geometry
  height : Number
[write-only]
AdvancedRectangle
  horizontalCenter : Number
[write-only]
AdvancedRectangle
 Inheritedid : String
The identifier used by document to refer to this object.
DegrafaObject
 InheritedIGraphicParent : IGraphic
Geometry
 InheritedinheritFill : Boolean
If set to true and no fill is defined and there is a parent object then this object will walk up through the parents to retrive a fill object.
Geometry
 InheritedinheritStroke : Boolean
If set to true and no stroke is defined and there is a parent object then this object will walk up through the parents to retrive a stroke object.
Geometry
 Inheritedinvalidated : Boolean
Specifies whether this object is to be re calculated on the next cycle.
Geometry
 InheritedisInitialized : Boolean
DegrafaObject
 InheritedisInvalidated : Boolean
Returns true if this Geometry object is invalidated
Geometry
 InheritedisRootGeometry : Boolean
Returns true if this Geometry object is a root Geometry Object.
Geometry
  layoutConstraint : LayoutConstraint
AdvancedRectangle
 Inherited_layoutMatrix : Matrix
Access to the layout matrix if this Geometry has layout.
Geometry
  layoutRectangle : Rectangle
[read-only]
AdvancedRectangle
  left : Number
[write-only]
AdvancedRectangle
  leftFill : IFill
AdvancedRectangle
  leftWidth : Number
AdvancedRectangle
  maintainAspectRatio : Boolean
[write-only]
AdvancedRectangle
 Inheritedmask : IGeometryComposition
A separate geometry object to use as a mask when rendering this geometry.
Geometry
 InheritedmaskMode : String
The mode used when this object is being masked by the geometry assigned to the mask property.
Geometry
 InheritedmaskSpace : String
The coordinate space within which the referenced mask geometry is rendered before being applied as a mask (respecting maskMode) to this object.
Geometry
  maxHeight : Number
[write-only]
AdvancedRectangle
  maxWidth : Number
[write-only]
AdvancedRectangle
  maxX : Number
[write-only]
AdvancedRectangle
  maxY : Number
[write-only]
AdvancedRectangle
  minHeight : Number
[write-only]
AdvancedRectangle
  minWidth : Number
[write-only]
AdvancedRectangle
  minX : Number
[write-only]
AdvancedRectangle
  minY : Number
[write-only]
AdvancedRectangle
 Inheritedname : String
The name that refers to this object.
DegrafaObject
 InheritedobjectBindings : Array
DegrafaObject
 Inheritedparent : IDegrafaObject
The current degrafa object parent.
DegrafaObject
  percentHeight : Number
[write-only]
AdvancedRectangle
  percentWidth : Number
[write-only]
AdvancedRectangle
  right : Number
[write-only]
AdvancedRectangle
  rightFill : IFill
AdvancedRectangle
  rightWidth : Number
AdvancedRectangle
 InheritedscaleOnLayout : Boolean
When using layout this flag will determine if you want Scale to be applied to fit layout rules
Geometry
 Inheritedstate : String
The state at which to draw this object.
Geometry
 InheritedstateEvent : String
The state event at which to draw this object.
Geometry
 Inheritedstates : Array
An array of states defined for this Geometry.
Geometry
 Inheritedstroke : IGraphicsStroke
Defines the stroke object that will be used for rendering this geometry object.
Geometry
 InheritedstyleName : Object
The css style name associated with this Geometry.
Geometry
 InheritedsuppressEventProcessing : Boolean
Temporarily suppress event processing for this object.
DegrafaObject
 InheritedtargetCoordinateSpace : DisplayObject
The display object that defines the coordinate system to use.
Geometry
  top : Number
[write-only]
AdvancedRectangle
  topFill : IFill
AdvancedRectangle
  topLeftFill : IFill
AdvancedRectangle
  topLeftRadiusX : Number
AdvancedRectangle
  topLeftRadiusY : Number
AdvancedRectangle
  topRightFill : IFill
AdvancedRectangle
  topRightRadiusX : Number
AdvancedRectangle
  topRightRadiusY : Number
AdvancedRectangle
  topWidth : Number
AdvancedRectangle
 Inheritedtransform : ITransform
Defines the transform object that will be used for rendering this geometry object.
Geometry
 InheritedtransformBounds : Rectangle
Returns a transformed version of this objects bounds as represented by a Rectangle.
Geometry
 InheritedtransformContext : Matrix
A reference to the transformation matrix context within which local transforms will be applied.
Geometry
 Inheritedtriggers : Array
An array of ITrigger objects that this Geometry object will use.
Geometry
  verticalCenter : Number
[write-only]
AdvancedRectangle
 Inheritedvisible : Boolean
Controls the visibility of this geometry object.
Geometry
  width : Number
[write-only]
AdvancedRectangle
  x : Number
[write-only]
AdvancedRectangle
  y : Number
[write-only]
AdvancedRectangle
Protected Properties
 PropertyDefined by
 InheritedeventDispatcher : EventDispatcher
EventDispatcher instance for this object.
DegrafaObject
 Inherited_fill : IGraphicsFill
Geometry
 Inherited_stroke : IGraphicsStroke
Geometry
Public Methods
 MethodDefined by
  
AdvancedRectangle
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = true):void
Registers an event listener object with an EventDispatcher object so that the listener receives notification of an event.
DegrafaObject
 Inherited
angleAt(t:Number):Number
Returns the angle of a point t(0-1) on the path.
Geometry
 Inherited
calculateLayout(childBounds:Rectangle = null):void
Performs the layout calculations if required.
Geometry
 Inherited
Clears all graphics targets specified in the graphicsTarget array.
Geometry
 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
Requests a draw for each graphics target specified in the graphicsTarget array.
Geometry
 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
initFill(graphics:Graphics, rc:Rectangle):void
Initialise the fill for this geometry object.
Geometry
 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
initStroke(graphics:Graphics, rc:Rectangle):void
Initialise the stroke for this geometry object.
Geometry
 Inherited
pointAt(t:Number):Point
Returns the point at t(0-1) on this object.
Geometry
 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
styleChanged(styleProp:String):void
Called when the value of a style property is changed.
Geometry
 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
Protected Methods
 MethodDefined by
 Inherited
propertyChangeHandler(event:PropertyChangeEvent):void
Principle event handler for any property changes to a geometry object or it's child objects.
Geometry
Events
 EventSummaryDefined by
 Inherited  DegrafaObject
 Inherited  DegrafaObject
Property detail
backgroundFillproperty
public var backgroundFill:IFill
bottomproperty 
bottom:Number  [write-only]Implementation
    public function set bottom(value:Number):void
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
heightproperty 
height:Number  [write-only]Implementation
    public function set height(value:Number):void
horizontalCenterproperty 
horizontalCenter:Number  [write-only]Implementation
    public function set horizontalCenter(value:Number):void
layoutConstraintproperty 
layoutConstraint:LayoutConstraint  [read-write]Implementation
    public function get layoutConstraint():LayoutConstraint
    public function set layoutConstraint(value:LayoutConstraint):void
layoutRectangleproperty 
layoutRectangle:Rectangle  [read-only]Implementation
    public function get layoutRectangle():Rectangle
leftproperty 
left:Number  [write-only]Implementation
    public function set left(value:Number):void
leftFillproperty 
public var leftFill:IFill
leftWidthproperty 
public var leftWidth:Number
maintainAspectRatioproperty 
maintainAspectRatio:Boolean  [write-only]Implementation
    public function set maintainAspectRatio(value:Boolean):void
maxHeightproperty 
maxHeight:Number  [write-only]Implementation
    public function set maxHeight(value:Number):void
maxWidthproperty 
maxWidth:Number  [write-only]Implementation
    public function set maxWidth(value:Number):void
maxXproperty 
maxX:Number  [write-only]Implementation
    public function set maxX(value:Number):void
maxYproperty 
maxY:Number  [write-only]Implementation
    public function set maxY(value:Number):void
minHeightproperty 
minHeight:Number  [write-only]Implementation
    public function set minHeight(value:Number):void
minWidthproperty 
minWidth:Number  [write-only]Implementation
    public function set minWidth(value:Number):void
minXproperty 
minX:Number  [write-only]Implementation
    public function set minX(value:Number):void
minYproperty 
minY:Number  [write-only]Implementation
    public function set minY(value:Number):void
percentHeightproperty 
percentHeight:Number  [write-only]Implementation
    public function set percentHeight(value:Number):void
percentWidthproperty 
percentWidth:Number  [write-only]Implementation
    public function set percentWidth(value:Number):void
rightproperty 
right:Number  [write-only]Implementation
    public function set right(value:Number):void
rightFillproperty 
public var rightFill:IFill
rightWidthproperty 
public var rightWidth:Number
topproperty 
top:Number  [write-only]Implementation
    public function set top(value:Number):void
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
verticalCenterproperty 
verticalCenter:Number  [write-only]Implementation
    public function set verticalCenter(value:Number):void
widthproperty 
width:Number  [write-only]Implementation
    public function set width(value:Number):void
xproperty 
x:Number  [write-only]Implementation
    public function set x(value:Number):void
yproperty 
y:Number  [write-only]Implementation
    public function set y(value:Number):void
Constructor detail
AdvancedRectangle()constructor
public function AdvancedRectangle()
Method detail
draw()method
public override function draw(graphics:Graphics, rc:Rectangle):voidParameters
graphics:Graphics
 
rc:Rectangle