public class HBitmap extends HDisplayObject
| 限定符和类型 | 字段和说明 |
|---|---|
Bitmap |
source
位图的源数据
|
HRectangle |
sourceRect
源数据的矩形区域
|
| 构造器和说明 |
|---|
HBitmap()
创建HBitmap。
|
HBitmap(Bitmap source)
创建HBitmap。
|
HBitmap(Bitmap source,
HRectangle sourceRect)
创建HBitmap。
|
getBounds, getGlobalMatrix, getHeight, getMatrix, getParent, getRect, getRect, getSize, getStage, getWidth, globalToLocal, hitTestObject, hitTestPoint, localToGlobal, setHeight, setMatrix, setWidthaddEventListener, dispatchEvent, hasEventListener, removeEventListenerpublic Bitmap source
public HRectangle sourceRect
public HBitmap(Bitmap source,
HRectangle sourceRect)
source - 原生的位图对象sourceRect - 截取源图像的区域public HBitmap(Bitmap source)
source - 原生的位图对象,将使用整张源图像。public HBitmap()