Table of Contents

Enum ObjectAlignment

Namespace
DotTiled
Assembly
DotTiled.dll

The alignment of tile objects.

public enum ObjectAlignment

Fields

Unspecified = 0

The alignment is unspecified. Tile objects will use BottomLeft in orthogonal maps, and Bottom in isometric maps.

TopLeft = 1

The tile object is aligned to the top left of the tile.

Top = 2

The tile object is aligned to the top of the tile.

TopRight = 3

The tile object is aligned to the top right of the tile.

Left = 4

The tile object is aligned to the left of the tile.

Center = 5

The tile object is aligned to the center of the tile.

Right = 6

The tile object is aligned to the right of the tile.

BottomLeft = 7

The tile object is aligned to the bottom left of the tile.

Bottom = 8

The tile object is aligned to the bottom of the tile.

BottomRight = 9

The tile object is aligned to the bottom right of the tile.