Class Index | File Index

Classes


Class bHive.Bitmap


Version all.

Defined in: 1.0.6

Class Summary
Constructor Attributes Constructor Name and Description
 
bHive.Bitmap(construct, parentObject)
Creates a new bHive.Bitmap instance
Method Summary
Method Attributes Method Name and Description
 
addEventListener(sEvent, fCallback)
Adds an event listener to the Bitmpa object
 
draw(parentX, parentY)
Draws object to canvas
Class Detail
bHive.Bitmap(construct, parentObject)
Creates a new bHive.Bitmap instance
Parameters:
construct
parentObject
Method Detail
addEventListener(sEvent, fCallback)
Adds an event listener to the Bitmpa object
Bitmap = engine.createBitmap({constructor});
Bitmap.addEventListener('oncomplete', myFunction);
Parameters:
{String} sEvent
Name of event
{Function} fCallback
Function to call when event is fired

draw(parentX, parentY)
Draws object to canvas
Bitmap = engine.createBitmap({constructor});
Bitmap.draw();
Parameters:
{Int} parentX
{Int} parentY

Documentation generated by JsDoc Toolkit 2.4.0 on Thu Oct 06 2011 14:36:48 GMT+0400 (GST)