|
|
|
@ -21,7 +21,7 @@ public class TiledRect extends RectProxy { |
|
|
|
|
final private Num perCol; |
|
|
|
|
|
|
|
|
|
/** Left top tile */ |
|
|
|
|
final private Rect aTile; |
|
|
|
|
private Rect aTile; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public TiledRect(Rect source, int horizontal, int vertical) |
|
|
|
@ -37,6 +37,17 @@ public class TiledRect extends RectProxy { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Set tile overlap. Applies only to tile, not span. |
|
|
|
|
* |
|
|
|
|
* @param overlap how far to overlap to neighbouring tiles on all sides |
|
|
|
|
*/ |
|
|
|
|
public void setOverlap(double overlap) |
|
|
|
|
{ |
|
|
|
|
aTile = aTile.grow(overlap); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Get a tile. |
|
|
|
|
* |
|
|
|
|