Struct TileBlock
A block of adjacent tiles at one zoom level that is rendered as one image (a metatile) and then cut into its tiles.
public readonly record struct TileBlock : IEquatable<TileBlock>
- Implements
- Inherited Members
Constructors
TileBlock(int, int, int, int, int)
A block of adjacent tiles at one zoom level that is rendered as one image (a metatile) and then cut into its tiles.
public TileBlock(int Zoom, int X, int Y, int Columns, int Rows)
Parameters
ZoomintThe zoom level.
XintThe westernmost tile column.
YintThe northernmost tile row.
ColumnsintThe number of tile columns.
RowsintThe number of tile rows.
Properties
Columns
The number of tile columns.
public int Columns { get; init; }
Property Value
Rows
The number of tile rows.
public int Rows { get; init; }
Property Value
TileCount
The number of tiles in the block.
public int TileCount { get; }
Property Value
X
The westernmost tile column.
public int X { get; init; }
Property Value
Y
The northernmost tile row.
public int Y { get; init; }
Property Value
Zoom
The zoom level.
public int Zoom { get; init; }