构造函数
constructor
- new AtlasGrid(width?, height?, id?): AtlasGrid
参数
- width: number = 0
- height: number = 0
- id: number = 0
属性
atlasID
atlasID: number = 0
方法
addRect
- addRect(type, width, height, pt): boolean
参数
- type: number
- width: number
- height: number
- pt: Point
返回 boolean