Packagecom.gaiaframework.api
Interfacepublic interface IBitmap extends IDisplayObject, IAsset, flash.events.IEventDispatcher

This is the interface for the BitmapAsset.

See also

BitmapAsset Documentation
flash.display.Bitmap


Public Properties
 PropertyDefined by
 InheritedaccessibilityProperties : AccessibilityProperties
IDisplayObject
 Inheritedalpha : Number
IDisplayObject
  bitmapData : BitmapData
IBitmap
 InheritedblendMode : String
IDisplayObject
 Inheritedbytes : int
Returns the bytes attribute value set in the site.xml for byte-accurate preloading.
IAsset
 InheritedcacheAsBitmap : Boolean
IDisplayObject
  content : Bitmap
[read-only] Returns the loader.content Bitmap.
IBitmap
 Inheriteddepth : String
Specifies the depth container the asset is assigned to.
IDisplayObject
 Inheritedfilters : Array
IDisplayObject
 Inheritedheight : Number
IDisplayObject
 Inheritedid : String
Returns the ID as set in site.xml.
IAsset
 Inheritedloader : Loader
Returns the loader.
IDisplayObject
 Inheritedmask : DisplayObject
IDisplayObject
 InheritedmouseX : Number
IDisplayObject
 InheritedmouseY : Number
IDisplayObject
 Inheritedname : String
IDisplayObject
 Inheritednode : XML
Returns the raw XML node of the asset
IAsset
 InheritedopaqueBackground : Object
IDisplayObject
 Inheritedorder : int
Returns the load order and position of the asset relative to other assets of the page.
IAsset
 Inheritedparent : DisplayObjectContainer
IDisplayObject
 InheritedpercentLoaded : Number
Returns the bytesLoaded / bytesTotal.
IAsset
  pixelSnapping : String
IBitmap
 InheritedpreloadAsset : Boolean
Specifies a value of true if the asset is set to preload, or false if it is on-demand.
IAsset
 Inheritedroot : DisplayObject
IDisplayObject
 Inheritedrotation : Number
IDisplayObject
 Inheritedscale9Grid : Rectangle
IDisplayObject
 InheritedscaleX : Number
IDisplayObject
 InheritedscaleY : Number
IDisplayObject
 InheritedscrollRect : Rectangle
IDisplayObject
 InheritedshowProgress : Boolean
Specifies whether the asset will cause the asset preloader to appear when loaded on-demand.
IAsset
  smoothing : Boolean
IBitmap
 Inheritedsrc : String
Returns the source path of the asset.
IAsset
 Inheritedstage : Stage
IDisplayObject
 Inheritedtitle : String
Specifies the title of the asset.
IAsset
 Inheritedtransform : Transform
IDisplayObject
 Inheritedvisible : Boolean
IDisplayObject
 Inheritedwidth : Number
IDisplayObject
 Inheritedx : Number
IDisplayObject
 Inheritedy : Number
IDisplayObject
Public Methods
 MethodDefined by
 Inherited
abort():void
Used to manually abort an on-demand asset load.
IAsset
 Inherited
getBounds(obj:DisplayObject):Rectangle
IDisplayObject
 Inherited
Returns the loaded bytes of the file.
IAsset
 Inherited
Returns the total bytes of the file.
IAsset
 Inherited
getRect(obj:DisplayObject):Rectangle
IDisplayObject
 Inherited
globalToLocal(point:Point):Point
IDisplayObject
 Inherited
hitTestObject(obj:DisplayObject):Boolean
IDisplayObject
 Inherited
hitTestPoint(px:Number, py:Number, shapeFlag:Boolean = false):Boolean
IDisplayObject
 Inherited
load(... args):void
Used to load assets on-demand.
IAsset
 Inherited
localToGlobal(point:Point):Point
IDisplayObject
Events
 EventSummaryDefined by
 Inherited Dispatched when the asset is finished loading.IAsset
Property detail
bitmapDataproperty
bitmapData:BitmapData  [read-write]

Implementation
    public function get bitmapData():BitmapData
    public function set bitmapData(value:BitmapData):void

See also

contentproperty 
content:Bitmap  [read-only]

Returns the loader.content Bitmap.

Implementation
    public function get content():Bitmap
pixelSnappingproperty 
pixelSnapping:String  [read-write]

Implementation
    public function get pixelSnapping():String
    public function set pixelSnapping(value:String):void

See also

smoothingproperty 
smoothing:Boolean  [read-write]

Implementation
    public function get smoothing():Boolean
    public function set smoothing(value:Boolean):void

See also