public final class Tiles extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
Tiles.TileReader
Supplies one full
tileWidth*tileHeight tile of a level. |
| Modifier and Type | Method and Description |
|---|---|
static Object |
readRegion(Tiles.TileReader src,
PixelType type,
int level,
int tileWidth,
int tileHeight,
long levelWidth,
long levelHeight,
long x,
long y,
int w,
int h)
Read the
w×h region whose top-left corner is (x,y) at the
given pyramid level. |
public static Object readRegion(Tiles.TileReader src, PixelType type, int level, int tileWidth, int tileHeight, long levelWidth, long levelHeight, long x, long y, int w, int h) throws IOException
w×h region whose top-left corner is (x,y) at the
given pyramid level. The region must lie within the level's canvas.w*h samples of the plane's typeIOExceptionCopyright © 2026. All rights reserved.