public static enum SpriteLayoutProperties.SpriteAlignment extends Enum<SpriteLayoutProperties.SpriteAlignment>
| Enum Constant and Description |
|---|
BOTTOM
To the bottom edge of a horizontal sprite.
|
CENTER
To the center of a vertical or horizontal sprite
|
LEFT
To the left edge of a vertical sprite.
|
REPEAT
Repeated across the full width/ height of the sprite image.
|
RIGHT
To the right edge of a vertical sprite.
|
TOP
To the top edge of a horizontal sprite.
|
| Modifier and Type | Method and Description |
|---|---|
static SpriteLayoutProperties.SpriteAlignment |
getValue(String value) |
String |
toString() |
static SpriteLayoutProperties.SpriteAlignment |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SpriteLayoutProperties.SpriteAlignment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
static String |
valuesAsString() |
public static final SpriteLayoutProperties.SpriteAlignment LEFT
public static final SpriteLayoutProperties.SpriteAlignment RIGHT
public static final SpriteLayoutProperties.SpriteAlignment TOP
public static final SpriteLayoutProperties.SpriteAlignment BOTTOM
public static final SpriteLayoutProperties.SpriteAlignment REPEAT
public static final SpriteLayoutProperties.SpriteAlignment CENTER
public static SpriteLayoutProperties.SpriteAlignment[] values()
for (SpriteLayoutProperties.SpriteAlignment c : SpriteLayoutProperties.SpriteAlignment.values()) System.out.println(c);
public static SpriteLayoutProperties.SpriteAlignment 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 nullpublic String toString()
toString in class Enum<SpriteLayoutProperties.SpriteAlignment>public static SpriteLayoutProperties.SpriteAlignment getValue(String value)
public static String valuesAsString()
Copyright © 2013 Carrot Search s.c.. All Rights Reserved.