Packagecom.degrafa.skins
Classpublic class GraphicBorderSkin
InheritanceGraphicBorderSkin Inheritance mx.skins.Border
ImplementsIGraphicSkin

GraphicBorderSkin is an extension of Border for use declarativly.

Default MXML Propertygeometry



Public Properties
 PropertyDefined by
  enableEvents : Boolean
Enable events for this object.
GraphicBorderSkin
  fill : IGraphicsFill
Defines the fill object that will be used for rendering this geometry object.
GraphicBorderSkin
  fillCollection : FillCollection
[read-only] Access to the Degrafa fill collection object for this graphic object.
GraphicBorderSkin
  fills : Array
A array of IGraphicsFill objects.
GraphicBorderSkin
  geometry : Array
A array of IGeometryComposition objects.
GraphicBorderSkin
  geometryCollection : GeometryCollection
[read-only] Access to the Degrafa geometry collection object for this geometry object.
GraphicBorderSkin
  hasEventManager : Boolean
[read-only] Tests to see if a EventDispatcher instance has been created for this object.
GraphicBorderSkin
  stroke : IGraphicsStroke
Defines the stroke object that will be used for rendering this geometry object.
GraphicBorderSkin
  strokeCollection : StrokeCollection
[read-only] Access to the Degrafa stroke collection object for this graphic object.
GraphicBorderSkin
  strokes : Array
A array of IStroke objects.
GraphicBorderSkin
  surpressEventProcessing : Boolean
Temporarily suppress event processing for this object.
GraphicBorderSkin
Public Methods
 MethodDefined by
  
GraphicBorderSkin
  
dispatchEvent(event:Event):Boolean
Dispatches an event into the event flow.
GraphicBorderSkin
  
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.
GraphicBorderSkin
  
draw(graphics:Graphics, rc:Rectangle):void
Begins the draw phase for graphic objects.
GraphicBorderSkin
  
endDraw(graphics:Graphics):void
Ends the draw phase for geometry objects.
GraphicBorderSkin
  
initChange(property:String, oldValue:Object, newValue:Object, source:Object):void
Helper function for dispatching property changes
GraphicBorderSkin
Protected Methods
 MethodDefined by
  
updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
Draws the object and/or sizes and positions its children.
GraphicBorderSkin
Property detail
enableEventsproperty
enableEvents:Boolean  [read-write]

Enable events for this object.

This property can be used as the source for data binding.

Implementation
    public function get enableEvents():Boolean
    public function set enableEvents(value:Boolean):void
fillproperty 
fill:IGraphicsFill  [read-write]

Defines the fill object that will be used for rendering this geometry object.

This property can be used as the source for data binding.

Implementation
    public function get fill():IGraphicsFill
    public function set fill(value:IGraphicsFill):void
fillCollectionproperty 
fillCollection:FillCollection  [read-only]

Access to the Degrafa fill collection object for this graphic object.

This property can be used as the source for data binding.

Implementation
    public function get fillCollection():FillCollection
fillsproperty 
fills:Array  [read-write]

A array of IGraphicsFill objects.

This property can be used as the source for data binding.

Implementation
    public function get fills():Array
    public function set fills(value:Array):void
geometryproperty 
geometry:Array  [read-write]

A array of IGeometryComposition objects.

This property can be used as the source for data binding.

Implementation
    public function get geometry():Array
    public function set geometry(value:Array):void
geometryCollectionproperty 
geometryCollection:GeometryCollection  [read-only]

Access to the Degrafa geometry collection object for this geometry object.

This property can be used as the source for data binding.

Implementation
    public function get geometryCollection():GeometryCollection
hasEventManagerproperty 
hasEventManager:Boolean  [read-only]

Tests to see if a EventDispatcher instance has been created for this object.

This property can be used as the source for data binding.

Implementation
    public function get hasEventManager():Boolean
strokeproperty 
stroke:IGraphicsStroke  [read-write]

Defines the stroke object that will be used for rendering this geometry object.

This property can be used as the source for data binding.

Implementation
    public function get stroke():IGraphicsStroke
    public function set stroke(value:IGraphicsStroke):void
strokeCollectionproperty 
strokeCollection:StrokeCollection  [read-only]

Access to the Degrafa stroke collection object for this graphic object.

This property can be used as the source for data binding.

Implementation
    public function get strokeCollection():StrokeCollection
strokesproperty 
strokes:Array  [read-write]

A array of IStroke objects.

This property can be used as the source for data binding.

Implementation
    public function get strokes():Array
    public function set strokes(value:Array):void
surpressEventProcessingproperty 
surpressEventProcessing:Boolean  [read-write]

Temporarily suppress event processing for this object.

This property can be used as the source for data binding.

Implementation
    public function get surpressEventProcessing():Boolean
    public function set surpressEventProcessing(value:Boolean):void
Constructor detail
GraphicBorderSkin()constructor
public function GraphicBorderSkin()
Method detail
dispatchEvent()method
public override function dispatchEvent(event:Event):Boolean

Dispatches an event into the event flow.

Parameters
event:Event

Returns
Boolean

See also

EventDispatcher
dispatchPropertyChange()method 
public function 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.

Parameters
bubbles:Boolean (default = false)
 
property:Object (default = null)
 
oldValue:Object (default = null)
 
newValue:Object (default = null)
 
source:Object (default = null)

Returns
Boolean
draw()method 
public function draw(graphics:Graphics, rc:Rectangle):void

Begins the draw phase for graphic objects. All graphic objects override this to do their specific rendering.

Parameters
graphics:Graphics — The current context to draw to.
 
rc:Rectangle — A Rectangle object used for fill bounds.
endDraw()method 
public function endDraw(graphics:Graphics):void

Ends the draw phase for geometry objects.

Parameters
graphics:Graphics — The current Graphics context being drawn to.
initChange()method 
public function initChange(property:String, oldValue:Object, newValue:Object, source:Object):void

Helper function for dispatching property changes

Parameters
property:String
 
oldValue:Object
 
newValue:Object
 
source:Object
updateDisplayList()method 
protected override function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void

Draws the object and/or sizes and positions its children.

Parameters
unscaledWidth:Number
 
unscaledHeight:Number