facedictionaryvo.as
来自「著名的flash 3d引擎 away 3d的源代码」· AS 代码 · 共 31 行
AS
31 行
package away3d.core.utils{ import flash.display.BitmapData; public class FaceDictionaryVO { public var bitmap:BitmapData; public var dirty:Boolean; public function FaceDictionaryVO(width:Number = 0, height:Number = 0) { if (width && height) bitmap = new BitmapData(width, height, true, 0x00000000); } public function clear():void { if (bitmap) bitmap.fillRect(bitmap.rect, 0x00000000); dirty = true; } public function reset(width:Number, height:Number):void { if (bitmap) bitmap.dispose(); bitmap = new BitmapData(width, height, true, 0x00000000); dirty = true; } }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?