Constructor
Variables
Methods
getScale9GirdTileset (rect:Rectangle):Tileset
获取九宫格配置 九宫格用于指定缩放的区域,如一个图形的大小为100,100 scaleGrid参数设置为scaleGridTop=2,scaleGridBottom=98, scaleGridLeft=2, scaleGridRight=98, 则当对此图形做缩放时,x轴是2-98之间的像素做缩放 y轴是2-98之间的像素做缩放, x轴0-2,98-100的像素保持不变,y轴0-2,98-100的像素保持不变。如下图红色区域表示拉伸的像素, 绿色区域表示不变的像素。
Returns:
Tileset