+ | autoRecover : bool |
设备重置时自动恢复drawboard资源。
|
+ | h : uint |
图像高度。
|
+ | rect : object |
设置画板坐标。
|
+ | w : uint |
图像宽度。
|
+ | function _DrawBoard(w : uint, h : uint) : _DrawBoard |
|
+ | function draw3DImage(x1 : number, y1 : number, z1 : number, x2 : number, y2 : number, z2 : number, x3 : number, y3 : number, z3 : number) |
渲染3D图片。
|
+ | function drawBillboard(x : number, y : number, z : number, w : number, h : number) |
渲染画板。
|
+ | function drawImage(x1 : int, y1 : int, x2 : int, y2 : int, c1 : uint, c2 : uint, c3 : uint, c4 : uint) |
渲染图片。
可选参数:
|
+ | function saveToFile(filename : string) |
把画板内容保存到文件。
|