Table of Contents

Class SourceRectangle

Namespace
DotTiled
Assembly
DotTiled.dll

A helper class to specify where in a tileset image a tile is located.

public class SourceRectangle
Inheritance
SourceRectangle
Inherited Members

Properties

Height

The height of the tile in the tileset image.

public int Height { get; set; }

Property Value

int

Width

The width of the tile in the tileset image.

public int Width { get; set; }

Property Value

int

X

The X coordinate of the tile in the tileset image.

public int X { get; set; }

Property Value

int

Y

The Y coordinate of the tile in the tileset image.

public int Y { get; set; }

Property Value

int