Class Index | File Index

Classes


Class createjs.Bitmap


Extends .

Defined in: bitmap.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
A class that encapsulates an element or a element into a CreateJS object.
Method Summary
Method Attributes Method Name and Description
 
Returns the HTMLImageElement object associated with this bitmap.
 
Returns the source rectangle of this bitmap.
 
 
 
handleEvent(event)
 
hitTestObject(point, types, bubble)
 
 
paintObject(renderer)
 
removeAllChildren(opt_destroy)
 
setImage(image)
Changes the HTMLImageElement object associated with this bitmap.
 
setSourceRect(rectangle)
Sets the source rectangle.
Class Detail
createjs.Bitmap(value)
A class that encapsulates an element or a element into a CreateJS object. This class should not be used for rendering
Parameters:
value
Method Detail
{HTMLImageElement} getImage()
Returns the HTMLImageElement object associated with this bitmap.
Returns:
{HTMLImageElement}

{createjs.Rectangle} getSourceRect()
Returns the source rectangle of this bitmap.
Returns:
{createjs.Rectangle}

handleAttach(flag)
Parameters:
flag

handleDetach()

handleEvent(event)
Parameters:
event

hitTestObject(point, types, bubble)
Parameters:
point
types
bubble

isVisible()

paintObject(renderer)
Parameters:
renderer

removeAllChildren(opt_destroy)
Parameters:
opt_destroy

setImage(image)
Changes the HTMLImageElement object associated with this bitmap.
Parameters:
{HTMLImageElement} image

setSourceRect(rectangle)
Sets the source rectangle.
Parameters:
{createjs.Rectangle} rectangle

Documentation generated by JsDoc Toolkit 2.4.0 on Tue Oct 04 2016 17:11:27 GMT+0900 (JST)