Static methods
staticcreateScale9Rects (x:Float, y:Float, width:Float, height:Float, rect:Rectangle):Array<Rectangle>
根据rect创建九宫格分割区域,提供给tileset使用
Parameters:
x | |
---|---|
y | |
width | |
height | |
rect |
Returns:
Array