Enum Class TextureAlignment
- All Implemented Interfaces:
Serializable,Comparable<TextureAlignment>,Constable
Specifies the alignment (the origin of the coordinate grid) for the tiling of the texture fill.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSpecifies the bottom alignment.Specifies the bottom-left alignment.Specifies the bottom-right alignment.Specifies the center alignment.Specifies the left alignment.Specifies the right alignment.Specifies the top alignment.Specifies the top-left alignment.Specifies the top-right alignment. -
Method Summary
Modifier and TypeMethodDescriptionstatic TextureAlignmentReturns the enum constant of this class with the specified name.static TextureAlignment[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TopLeft
Specifies the top-left alignment. -
Top
Specifies the top alignment. -
TopRight
Specifies the top-right alignment. -
Left
Specifies the left alignment. -
Center
Specifies the center alignment. -
Right
Specifies the right alignment. -
BottomLeft
Specifies the bottom-left alignment. -
Bottom
Specifies the bottom alignment. -
BottomRight
Specifies the bottom-right alignment.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-