Struct PluginMapTileKey
- Namespace
- AcDream.Plugin.Abstractions
- Assembly
- AcDream.Plugin.Abstractions.dll
Identifies one tile in a tiled map image.
public readonly record struct PluginMapTileKey : IEquatable<PluginMapTileKey>
- Implements
- Inherited Members
Constructors
PluginMapTileKey(int, int, int)
Names one tile.
public PluginMapTileKey(int zoom, int x, int y)
Parameters
zoomintThe zoom level, zero or greater.
xintThe tile's column at that zoom level, zero or greater.
yintThe tile's row at that zoom level, zero or greater.
Exceptions
- ArgumentOutOfRangeException
Any of the three is negative.
Properties
X
The tile's column at its zoom level.
public int X { get; }
Property Value
Y
The tile's row at its zoom level.
public int Y { get; }
Property Value
Zoom
The zoom level the tile belongs to.
public int Zoom { get; }