Enum Class TextureAlignment
- All Implemented Interfaces:
Serializable,Comparable<TextureAlignment>,Constable
指定纹理填充的贴图对齐方式(坐标网格的起源)。
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription指定底端对齐。指定左下角对齐。指定右下角对齐。指定居中对齐。指定左对齐。指定右对齐。指定顶部对齐。指定左上对齐。指定右上角对齐。 -
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
指定左上对齐。 -
Top
指定顶部对齐。 -
TopRight
指定右上角对齐。 -
Left
指定左对齐。 -
Center
指定居中对齐。 -
Right
指定右对齐。 -
BottomLeft
指定左下角对齐。 -
Bottom
指定底端对齐。 -
BottomRight
指定右下角对齐。
-
-
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
-