Table of Contents

Property this

Namespace
MonoGame.Aseprite
Assembly
MonoGame.Aseprite.dll

this[int]

Gets the Tile element at the specified index in this TilemapLayer

public Tile this[int tileIndex] { get; }

Parameters

tileIndex int

The index of the Tile element to locate.

Property Value

Tile

The Tile element located.

Exceptions

ArgumentOutOfRangeException

Thrown if the index specified is less than zero or is greater than or equal to the total number of Tile elements in this TilemapLayer.

this[int, int]

Gets the Tile element located at the specified column and row in this TilemapLayer.

public Tile this[int column, int row] { get; }

Parameters

column int

The column of the Tile element to locate.

row int

The row of the Tile element to locate.

Property Value

Tile

The Tile element located.

Exceptions

ArgumentOutOfRangeException

Thrown if either the column or rows specified is less than zero or if either is greater than or equal to the total number of columns or rows in this TilemapLayer.

this[Point]

Gets the Tile element located at the specified column and row location in this TilemapLayer.

public Tile this[Point location] { get; }

Parameters

location Point

The column and row location of the Tile element to locate.

Property Value

Tile

The Tile element located.

Exceptions

ArgumentOutOfRangeException

Thrown if either the column or rows specified in the location is less than zero or if either is greater than or equal to the total number of columns or rows in this TilemapLayer.