继承 Bitmap
View
模块 hilo/view/Bitmap
依赖
hilo/core/Hilo, hilo/core/Class, hilo/view/View, hilo/view/Drawable
源码
Bitmap.js
Bitmap类表示位图图像类。
使用示例:
var bmp = new Hilo.Bitmap({image:imgElem, rect:[0, 0, 100, 100]});
stage.addChild(bmp);
| 属性 | 定义于 |
|---|
| 方法 | 定义于 | |
|---|---|---|
|
Bitmap(properties:Object)
构造函数
|
Bitmap | |
|
setImage(image:Image|String, rect:Array, crossOrigin:Boolean):Bitmap
设置位图的图片。
|
Bitmap |