Inheritance Bitmap
View
Module hilo/view/Bitmap
Requires
hilo/core/Hilo, hilo/core/Class, hilo/view/View, hilo/view/Drawable
Source
Bitmap.js
Bitmap
Example:
var bmp = new Hilo.Bitmap({image:imgElem, rect:[0, 0, 100, 100]});
stage.addChild(bmp);
| Property | Defined |
|---|
| Method | Defined | |
|---|---|---|
|
Bitmap(properties:Object)
Constructor
|
Bitmap | |
|
setImage(Image:Image|String, rect:Array, crossOrigin:Boolean):Bitmap
set the image。
|
Bitmap |