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