Table of Contents

Property this

Namespace
MonoGame.Aseprite
Assembly
MonoGame.Aseprite.dll

this[int]

Gets the TextureRegion of the tile at the specified index in this Tileset.

public TextureRegion this[int index] { get; }

Parameters

index int

The index of the tile to locate.

Property Value

TextureRegion

The TextureRegion for the tile located.

Exceptions

ArgumentOutOfRangeException

Thrown if the specified index is less than zero or is greater than or equal to the total number of tiles in this Tileset.

this[int, int]

Gets the TextureRegion for the tile at the specified column and row in this Tileset.

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

Parameters

column int

The column of the tile to locate in this Tileset.

row int

The row of the tile to locate in this Tileset.

Property Value

TextureRegion

The TextureRegion for the tile located.

Exceptions

ArgumentOutOfRangeException

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

this[Point]

Gets the TextureRegion for the tile at the specified column and row location in this Tileset.

public TextureRegion this[Point location] { get; }

Parameters

location Point

The column and row location of the tile to locate in this Tileset.

Property Value

TextureRegion

The TextureRegion for the tile located.

Exceptions

ArgumentOutOfRangeException

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