public static enum TileDescription.RoundingMode extends Enum<TileDescription.RoundingMode>
Enum Constant and Description |
---|
ROUND_DOWN
Use
floor(x) as the level size rounding function. |
ROUND_UP
Use
ceil(x) as the level size rounding function. |
Modifier and Type | Method and Description |
---|---|
static TileDescription.RoundingMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TileDescription.RoundingMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TileDescription.RoundingMode ROUND_DOWN
floor(x)
as the level size rounding function.public static final TileDescription.RoundingMode ROUND_UP
ceil(x)
as the level size rounding function.public static TileDescription.RoundingMode[] values()
for (TileDescription.RoundingMode c : TileDescription.RoundingMode.values()) System.out.println(c);
public static TileDescription.RoundingMode 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 null