Extended ScaleGrid: Allows for tiling of center and borders have individual sizes.

Constructor

new (tile:Tile, borderT:Int, borderB:Int, borderL:Int, borderR:Int, ?parent:Object)

Variables

borderBottom:Int

Height of the bottom border.

borderLeft:Int

Width of the left border.

borderRight:Int

Height of the right border.

borderTop:Int

Height of the top border.

height:Int

Height of the ScaleGrid.

tileBorders:Bool

If true, borders will be tiled instead of stretched.

tileCenter:Bool

If true, central part will be tiled instead of stretched.

width:Int

Width of the ScaleGrid.

Methods

setSize (w:Int, h:Int):Void