Table of Contents

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

zoom int

The zoom level, zero or greater.

x int

The tile's column at that zoom level, zero or greater.

y int

The 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

int

Y

The tile's row at its zoom level.

public int Y { get; }

Property Value

int

Zoom

The zoom level the tile belongs to.

public int Zoom { get; }

Property Value

int