Class Index | File Index

Classes


Class Bitmap


Extends DisplayObject.
A Bitmap represents an Image, Canvas, or Video in the display list.
Defined in: Bitmap.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Bitmap(image)
Constructs a Bitmap object with the specified source image.
Field Summary
Field Attributes Field Name and Description
<private>  
<private>  
 
The image to render.
Fields borrowed from class DisplayObject:
_activeContext, _cacheDraw, _cacheOffsetX, _cacheOffsetY, _restoreContext, _revertShadow, _revertX, _revertY, alpha, cacheCanvas, id, mouseEnabled, name, parent, regX, regY, rotation, scaleX, scaleY, shadow, visible, x, y
Method Summary
Method Attributes Method Name and Description
 
Because the content of a Bitmap is already in a simple format, cache is unnecessary for Bitmap instances.
<private>  
init(image)
 
Because the content of a Bitmap is already in a simple format, cache is unnecessary for Bitmap instances.
Methods borrowed from class DisplayObject:
applyShadow, clone, cloneProps, draw, getStage, revertContext, toString, updateContext
Class Detail
Bitmap(image)
Constructs a Bitmap object with the specified source image.
Parameters:
image
The Image, Canvas, or Video to render to the display list.
Field Detail
<private> _draw

<private> _init

image
The image to render. This can be an Image, a Canvas, or a Video. *
Method Detail
cache()
Because the content of a Bitmap is already in a simple format, cache is unnecessary for Bitmap instances.

<private> init(image)
Parameters:
image

uncache()
Because the content of a Bitmap is already in a simple format, cache is unnecessary for Bitmap instances.

Documentation generated by JsDoc Toolkit 2.3.2 on Tue Dec 07 2010 15:40:00 GMT-0700 (MST)