Bitmap


Inheritance Bitmap View Module hilo/view/Bitmap Requires hilo/core/Hilo, hilo/core/Class, hilo/view/View, hilo/view/Drawable Source Bitmap.js
Bitmap

Properties

Show Inherited Properties
Property Defined

Methods

Show Inherited Methods
Method Defined
Bitmap(properties:Object)
Constructor
Bitmap
setImage(Image:Image|String, rect:Array):Bitmap
Bitmap

Constructor

Bitmap(properties:Object)
parameters
properties:Object — the options of create Instance.It can contains all writable property and Moreover:
  • image - the image of bitmap which contained。required。
  • rect - the range of bitmap in the image。option

Method Detail

setImage(Image:Image|String, rect:Array):Bitmap
parameters
Image:Image|String — Object or URL。
rect:Array — the range of bitmap in the image。
return
Bitmap — self。