| Package | com.degrafa |
| Class | public class Surface |
| Inheritance | Surface mx.core.UIComponent |
Default MXML PropertygraphicsData
| Property | Defined by | ||
|---|---|---|---|
| enableEvents : Boolean
Enable events for this object.
| Surface | ||
| fillCollection : FillCollection
[read-only]
Access to the Degrafa fill collection object for this graphic object.
| Surface | ||
| fills : Array
A array of IGraphicsFill objects.
| Surface | ||
| graphicsCollection : GraphicsCollection
[read-only]
Access to the Degrafa graphics collection object for this graphic object.
| Surface | ||
| graphicsData : Array
A array of IGraphic objects.
| Surface | ||
| hasEventManager : Boolean [read-only]
Tests to see if a EventDispatcher instance has been created for this object.
| Surface | ||
| strokeCollection : StrokeCollection
[read-only]
Access to the Degrafa stroke collection object for this graphic object.
| Surface | ||
| strokes : Array
A array of IStroke objects.
| Surface | ||
| suppressEventProcessing : Boolean
Temporarily suppress event processing for this object.
| Surface | ||
| Method | Defined by | ||
|---|---|---|---|
|
Surface()
| Surface | ||
|
dispatchEvent(event:Event):Boolean
Dispatches an event into the event flow.
| Surface | ||
|
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.
| Surface | ||
|
initChange(property:String, oldValue:Object, newValue:Object, source:Object):void
Helper function for dispatching property changes
| Surface | ||
| Method | Defined by | ||
|---|---|---|---|
|
updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
Draws the object and/or sizes and positions its children.
| Surface | ||
| enableEvents | property |
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
| fillCollection | property |
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
| fills | property |
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
| graphicsCollection | property |
graphicsCollection:GraphicsCollection [read-only]Access to the Degrafa graphics collection object for this graphic object.
This property can be used as the source for data binding.
Implementation public function get graphicsCollection():GraphicsCollection
| graphicsData | property |
graphicsData:Array [read-write]A array of IGraphic objects. Objects of type GraphicText, GraphicImage and GeometryGroup are accepted and to this objects display list.
This property can be used as the source for data binding.
Implementation public function get graphicsData():Array
public function set graphicsData(value:Array):void
| hasEventManager | property |
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
| strokeCollection | property |
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
| strokes | property |
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
| suppressEventProcessing | property |
suppressEventProcessing: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 suppressEventProcessing():Boolean
public function set suppressEventProcessing(value:Boolean):void
| Surface | () | constructor |
public function Surface()
| dispatchEvent | () | method |
public override function dispatchEvent(event:Event):BooleanDispatches an event into the event flow.
Parametersevent:Event |
Boolean |
See also
| dispatchPropertyChange | () | method |
public function dispatchPropertyChange(bubbles:Boolean = false, property:Object = null, oldValue:Object = null, newValue:Object = null, source:Object = null):BooleanDispatches an property change event into the event flow.
Parametersbubbles:Boolean (default = false) |
|
property:Object (default = null) |
|
oldValue:Object (default = null) |
|
newValue:Object (default = null) |
|
source:Object (default = null) |
Boolean |
| initChange | () | method |
public function initChange(property:String, oldValue:Object, newValue:Object, source:Object):voidHelper function for dispatching property changes
Parametersproperty:String |
|
oldValue:Object |
|
newValue:Object |
|
source:Object |
| updateDisplayList | () | method |
protected override function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):voidDraws the object and/or sizes and positions its children.
ParametersunscaledWidth:Number |
|
unscaledHeight:Number |