| Package | com.degrafa.geometry |
| Class | public class AdvancedRectangle |
| Inheritance | AdvancedRectangle Geometry DegrafaObject |
| Implements | IGeometry |
| Property | Defined by | ||
|---|---|---|---|
![]() | alpha : Number
The alpha setting that applies to this object.
| Geometry | |
![]() | autoClearGraphicsTarget : 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 | ||
![]() | bounds : Rectangle
The tight bounds of this element as represented by a Rectangle.
| Geometry | |
![]() | clippingRectangle : Rectangle
A clipping rectangle to use when rendering this geometry.
| Geometry | |
![]() | commandStack : CommandStack
Provides access to the command stack.
| Geometry | |
![]() | currentState : String
The current view state.
| Geometry | |
![]() | data : Object
Allows a short hand property setting that is
specific to and parsed by each geometry object.
| Geometry | |
![]() | decoratorCollection : DecoratorCollection
Access to the Decorator collection object for this Geometry object.
| Geometry | |
![]() | decorators : Array
A array of IDecorator objects to be applied on this Geometry.
| Geometry | |
![]() | document : Object
The MXML document that created this object.
| DegrafaObject | |
![]() | enableEvents : Boolean
Enable events for this object.
| DegrafaObject | |
![]() | fill : IGraphicsFill
Defines the fill object that will be used for
rendering this geometry object.
| Geometry | |
![]() | filters : Array
An array of BitmapFilter objects applied to this Geometry.
| Geometry | |
![]() | geometricLength : Number
Returns geometric length of this object.
| Geometry | |
![]() | geometry : Array
A array of IGeometryComposition objects.
| Geometry | |
![]() | geometryCollection : GeometryCollection
Access to the Degrafa geometry collection object for this geometry object.
| Geometry | |
![]() | graphicsTarget : Array
One or more display object's that this Geometry is to be drawn to.
| Geometry | |
![]() | graphicsTargetCollection : DisplayObjectCollection
Access to the Degrafa target collection object for this geometry object.
| Geometry | |
![]() | hasDecorators : Boolean
Returns true if this Geometry has decorators.
| Geometry | |
![]() | hasEventManager : Boolean
Tests to see if a EventDispatcher instance has been created for this object.
| DegrafaObject | |
![]() | hasFilters : Boolean
Returns true if this Geometry has filters.
| Geometry | |
![]() | hasLayout : Boolean
Returns true if this Geometry has layout.
| Geometry | |
![]() | hasStates : Boolean
Returns true if this Geometry has states.
| Geometry | |
![]() | hasTriggers : Boolean
Returns true if this Geometry has triggers.
| Geometry | |
| height : Number [write-only]
| AdvancedRectangle | ||
| horizontalCenter : Number [write-only]
| AdvancedRectangle | ||
![]() | id : String
The identifier used by document to refer to this object.
| DegrafaObject | |
![]() | IGraphicParent : IGraphic | Geometry | |
![]() | inheritFill : 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 | |
![]() | inheritStroke : 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 | |
![]() | invalidated : Boolean
Specifies whether this object is to be re calculated
on the next cycle.
| Geometry | |
![]() | isInitialized : Boolean | DegrafaObject | |
![]() | isInvalidated : Boolean
Returns true if this Geometry object is invalidated
| Geometry | |
![]() | isRootGeometry : Boolean
Returns true if this Geometry object is a root Geometry Object.
| Geometry | |
| layoutConstraint : LayoutConstraint | AdvancedRectangle | ||
![]() | _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 | ||
![]() | mask : IGeometryComposition
A separate geometry object to use as a mask when rendering this geometry.
| Geometry | |
![]() | maskMode : String
The mode used when this object is being masked by the geometry assigned to the mask property.
| Geometry | |
![]() | maskSpace : 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 | ||
![]() | name : String
The name that refers to this object.
| DegrafaObject | |
![]() | objectBindings : Array | DegrafaObject | |
![]() | parent : 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 | ||
![]() | scaleOnLayout : Boolean
When using layout this flag will determine if you want
Scale to be applied to fit layout rules
| Geometry | |
![]() | state : String
The state at which to draw this object.
| Geometry | |
![]() | stateEvent : String
The state event at which to draw this object.
| Geometry | |
![]() | states : Array
An array of states defined for this Geometry.
| Geometry | |
![]() | stroke : IGraphicsStroke
Defines the stroke object that will be used for
rendering this geometry object.
| Geometry | |
![]() | styleName : Object
The css style name associated with this Geometry.
| Geometry | |
![]() | suppressEventProcessing : Boolean
Temporarily suppress event processing for this object.
| DegrafaObject | |
![]() | targetCoordinateSpace : 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 | ||
![]() | transform : ITransform
Defines the transform object that will be used for
rendering this geometry object.
| Geometry | |
![]() | transformBounds : Rectangle
Returns a transformed version of this objects bounds as
represented by a Rectangle.
| Geometry | |
![]() | transformContext : Matrix
A reference to the transformation matrix context within which local transforms will be applied.
| Geometry | |
![]() | triggers : Array
An array of ITrigger objects that this Geometry object will use.
| Geometry | |
| verticalCenter : Number [write-only]
| AdvancedRectangle | ||
![]() | visible : Boolean
Controls the visibility of this geometry object.
| Geometry | |
| width : Number [write-only]
| AdvancedRectangle | ||
| x : Number [write-only]
| AdvancedRectangle | ||
| y : Number [write-only]
| AdvancedRectangle | ||
| Method | Defined by | ||
|---|---|---|---|
| AdvancedRectangle | |||
![]() |
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 | |
![]() |
angleAt(t:Number):Number
Returns the angle of a point t(0-1) on the path.
| Geometry | |
![]() |
calculateLayout(childBounds:Rectangle = null):void
Performs the layout calculations if required.
| Geometry | |
![]() |
clearGraphicsTargets():void
Clears all graphics targets specified in the graphicsTarget array.
| Geometry | |
![]() |
dispatchEvent(evt:Event):Boolean
Dispatches an event into the event flow.
| DegrafaObject | |
![]() |
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 | ||
![]() |
drawToTargets():void
Requests a draw for each graphics target specified in the graphicsTarget array.
| Geometry | |
![]() |
endDraw(graphics:Graphics):void
Ends the draw phase for geometry objects.
| Geometry | |
![]() |
hasEventListener(type:String):Boolean
Checks whether the EventDispatcher object has any listeners registered for a specific type of event.
| DegrafaObject | |
![]() |
initChange(property:String, oldValue:Object, newValue:Object, source:Object):void
Helper function for dispatching property changes
| DegrafaObject | |
![]() |
initFill(graphics:Graphics, rc:Rectangle):void
Initialise the fill for this geometry object.
| Geometry | |
![]() |
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 | |
![]() |
initStroke(graphics:Graphics, rc:Rectangle):void
Initialise the stroke for this geometry object.
| Geometry | |
![]() |
pointAt(t:Number):Point
Returns the point at t(0-1) on this object.
| Geometry | |
![]() |
preDraw():void
Performs any pre calculation that is required to successfully render
this element.
| Geometry | |
![]() |
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Removes a listener from the EventDispatcher object.
| DegrafaObject | |
![]() |
styleChanged(styleProp:String):void
Called when the value of a style property is changed.
| Geometry | |
![]() |
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 | |
| backgroundFill | property |
public var backgroundFill:IFill
| bottom | property |
bottom:Number [write-only]Implementation
public function set bottom(value:Number):void
| bottomFill | property |
public var bottomFill:IFill
| bottomLeftFill | property |
public var bottomLeftFill:IFill
| bottomLeftRadiusX | property |
public var bottomLeftRadiusX:Number
| bottomLeftRadiusY | property |
public var bottomLeftRadiusY:Number
| bottomRightFill | property |
public var bottomRightFill:IFill
| bottomRightRadiusX | property |
public var bottomRightRadiusX:Number
| bottomRightRadiusY | property |
public var bottomRightRadiusY:Number
| bottomWidth | property |
public var bottomWidth:Number
| height | property |
height:Number [write-only]Implementation
public function set height(value:Number):void
| horizontalCenter | property |
horizontalCenter:Number [write-only]Implementation
public function set horizontalCenter(value:Number):void
| layoutConstraint | property |
layoutConstraint:LayoutConstraint [read-write]Implementation
public function get layoutConstraint():LayoutConstraint
public function set layoutConstraint(value:LayoutConstraint):void
| layoutRectangle | property |
layoutRectangle:Rectangle [read-only]Implementation
public function get layoutRectangle():Rectangle
| left | property |
left:Number [write-only]Implementation
public function set left(value:Number):void
| leftFill | property |
public var leftFill:IFill
| leftWidth | property |
public var leftWidth:Number
| maintainAspectRatio | property |
maintainAspectRatio:Boolean [write-only]Implementation
public function set maintainAspectRatio(value:Boolean):void
| maxHeight | property |
maxHeight:Number [write-only]Implementation
public function set maxHeight(value:Number):void
| maxWidth | property |
maxWidth:Number [write-only]Implementation
public function set maxWidth(value:Number):void
| maxX | property |
maxX:Number [write-only]Implementation
public function set maxX(value:Number):void
| maxY | property |
maxY:Number [write-only]Implementation
public function set maxY(value:Number):void
| minHeight | property |
minHeight:Number [write-only]Implementation
public function set minHeight(value:Number):void
| minWidth | property |
minWidth:Number [write-only]Implementation
public function set minWidth(value:Number):void
| minX | property |
minX:Number [write-only]Implementation
public function set minX(value:Number):void
| minY | property |
minY:Number [write-only]Implementation
public function set minY(value:Number):void
| percentHeight | property |
percentHeight:Number [write-only]Implementation
public function set percentHeight(value:Number):void
| percentWidth | property |
percentWidth:Number [write-only]Implementation
public function set percentWidth(value:Number):void
| right | property |
right:Number [write-only]Implementation
public function set right(value:Number):void
| rightFill | property |
public var rightFill:IFill
| rightWidth | property |
public var rightWidth:Number
| top | property |
top:Number [write-only]Implementation
public function set top(value:Number):void
| topFill | property |
public var topFill:IFill
| topLeftFill | property |
public var topLeftFill:IFill
| topLeftRadiusX | property |
public var topLeftRadiusX:Number
| topLeftRadiusY | property |
public var topLeftRadiusY:Number
| topRightFill | property |
public var topRightFill:IFill
| topRightRadiusX | property |
public var topRightRadiusX:Number
| topRightRadiusY | property |
public var topRightRadiusY:Number
| topWidth | property |
public var topWidth:Number
| verticalCenter | property |
verticalCenter:Number [write-only]Implementation
public function set verticalCenter(value:Number):void
| width | property |
width:Number [write-only]Implementation
public function set width(value:Number):void
| x | property |
x:Number [write-only]Implementation
public function set x(value:Number):void
| y | property |
y:Number [write-only]Implementation
public function set y(value:Number):void
| AdvancedRectangle | () | constructor |
public function AdvancedRectangle()
| draw | () | method |
public override function draw(graphics:Graphics, rc:Rectangle):voidParameters
graphics:Graphics |
|
rc:Rectangle |