Packagecom.degrafa
Classpublic class GraphicImage
InheritanceGraphicImage Inheritance Graphic Inheritance flash.display.Sprite
ImplementsIGeometry, IGraphic

GraphicImage Enables support for images to be added to compositions.



Public Properties
 PropertyDefined by
  data : Object
GraphicImage
 Inheriteddocument : Object
The MXML document that created this object.
Graphic
 InheritedenableEvents : Boolean
Enable events for this object.
Graphic
 Inheritedfill : IGraphicsFill
Defines the fill object that will be used for rendering this graphic object.
Graphic
 InheritedfillCollection : FillCollection
Access to the Degrafa fill collection object for this graphic object.
Graphic
 Inheritedfills : Array
A array of IGraphicsFill objects.
Graphic
 InheritedhasEventManager : Boolean
Tests to see if a EventDispatcher instance has been created for this object.
Graphic
 Inheritedheight : Number
Number that specifies the height, in pixels, in the target's coordinates.
Graphic
 Inheritedid : String
The identifier used by document to refer to this object.
Graphic
 InheritedmeasuredHeight : Number
The default height, in pixels.
Graphic
 InheritedmeasuredWidth : Number
The default width, in pixels.
Graphic
 InheritedpercentHeight : Number
Number that specifies the height as a percentage of the target.
Graphic
 InheritedpercentWidth : Number
Number that specifies the width as a percentage of the target.
Graphic
  source : Object
The URL, class or string name of a class to load as the content
GraphicImage
 Inheritedstroke : IGraphicsStroke
Defines the stroke object that will be used for rendering this graphic object.
Graphic
 InheritedstrokeCollection : StrokeCollection
Access to the Degrafa stroke collection object for this graphic object.
Graphic
 Inheritedstrokes : Array
A array of IStroke objects.
Graphic
 InheritedsuppressEventProcessing : Boolean
Temporarily suppress event processing for this object.
Graphic
 Inheritedtarget : DisplayObjectContainer
A target DisplayObjectContainer that this graphic object should be added or drawn to.
Graphic
 Inheritedwidth : Number
Number that specifies the width, in pixels, in the target's coordinates.
Graphic
 Inheritedx : Number
Number that specifies the horizontal position, in pixels, within the target.
Graphic
 Inheritedy : Number
Number that specifies the vertical position, in pixels, within the target.
Graphic
Public Methods
 MethodDefined by
  
GraphicImage
 Inherited
dispatchEvent(event:Event):Boolean
Dispatches an event into the event flow.
Graphic
 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.
Graphic
 Inherited
draw(graphics:Graphics, rc:Rectangle):void
Begins the draw phase for geometry objects.
Graphic
 Inherited
endDraw(graphics:Graphics):void
Ends the draw phase for geometry objects.
Graphic
 Inherited
initChange(property:String, oldValue:Object, newValue:Object, source:Object):void
Helper function for dispatching property changes
Graphic
 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.
Graphic
Protected Methods
 MethodDefined by
  
onLoaded(event:Event):void
Called when the image has been successfully loaded.
GraphicImage
Events
 EventSummaryDefined by
 Inherited  Graphic
 Inherited  Graphic
Property detail
dataproperty
data:Object  [read-write]

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

Implementation
    public function get data():Object
    public function set data(value:Object):void
sourceproperty 
source:Object  [read-write]

The URL, class or string name of a class to load as the content

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

Implementation
    public function get source():Object
    public function set source(value:Object):void
Constructor detail
GraphicImage()constructor
public function GraphicImage()
Method detail
onLoaded()method
protected function onLoaded(event:Event):void

Called when the image has been successfully loaded.

Parameters
event:Event