public static enum TiledTileset.ObjectAlignment extends Enum<TiledTileset.ObjectAlignment>
Represents an alignment that tile objects using a tileset's tiles can have.
Enum Constant and Description |
---|
BOTTOM |
BOTTOMLEFT |
BOTTOMRIGHT |
CENTER |
LEFT |
RIGHT |
TOP |
TOPLEFT |
TOPRIGHT |
UNSPECIFIED |
Modifier and Type | Method and Description |
---|---|
static TiledTileset.ObjectAlignment |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TiledTileset.ObjectAlignment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TiledTileset.ObjectAlignment UNSPECIFIED
public static final TiledTileset.ObjectAlignment TOPLEFT
public static final TiledTileset.ObjectAlignment TOP
public static final TiledTileset.ObjectAlignment TOPRIGHT
public static final TiledTileset.ObjectAlignment LEFT
public static final TiledTileset.ObjectAlignment CENTER
public static final TiledTileset.ObjectAlignment RIGHT
public static final TiledTileset.ObjectAlignment BOTTOMLEFT
public static final TiledTileset.ObjectAlignment BOTTOM
public static final TiledTileset.ObjectAlignment BOTTOMRIGHT
public static TiledTileset.ObjectAlignment[] values()
for (TiledTileset.ObjectAlignment c : TiledTileset.ObjectAlignment.values()) System.out.println(c);
public static TiledTileset.ObjectAlignment valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2020. All rights reserved.