public abstract class TileLoop
extends java.lang.Object
コンストラクタと説明 |
---|
TileLoop() |
修飾子とタイプ | メソッドと説明 |
---|---|
abstract TileData |
createData()
Subclasses must provide a fresh instance of
TileData . |
int |
forEachTile(int sizeX,
int sizeY,
int sizeZ,
int sizeC,
int sizeT,
int tileWidth,
int tileHeight,
TileLoopIteration iteration)
Iterates over every tile in a given pixel based on the
over arching dimensions and a requested maximum tile width and height.
|
public abstract TileData createData()
TileData
.
The instance will be closed after the run of forEachTile.public int forEachTile(int sizeX, int sizeY, int sizeZ, int sizeC, int sizeT, int tileWidth, int tileHeight, TileLoopIteration iteration)
iteration
- Invoker to call for each tile.pixel
- Pixel instancetileWidth
- Maximum width of the tile requested. The tile
request itself will be smaller than the original tile width requested if
x + tileWidth > sizeX
.tileHeight
- Maximum height of the tile requested. The tile
request itself will be smaller if y + tileHeight > sizeY
.