public static enum PaintStyle.TextureAlignment extends java.lang.Enum<PaintStyle.TextureAlignment>
Enum Constant and Description |
---|
BOTTOM |
BOTTOM_LEFT |
BOTTOM_RIGHT |
CENTER |
LEFT |
RIGHT |
TOP |
TOP_LEFT |
TOP_RIGHT |
Modifier and Type | Method and Description |
---|---|
static PaintStyle.TextureAlignment |
fromOoxmlId(java.lang.String ooxmlId) |
static PaintStyle.TextureAlignment |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
(返回具有指定名称的此类型的枚举常量。)
|
static PaintStyle.TextureAlignment[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
(按照声明的顺序返回包含此枚举类型常量的数组。)
|
public static final PaintStyle.TextureAlignment BOTTOM
public static final PaintStyle.TextureAlignment BOTTOM_LEFT
public static final PaintStyle.TextureAlignment BOTTOM_RIGHT
public static final PaintStyle.TextureAlignment CENTER
public static final PaintStyle.TextureAlignment LEFT
public static final PaintStyle.TextureAlignment RIGHT
public static final PaintStyle.TextureAlignment TOP
public static final PaintStyle.TextureAlignment TOP_LEFT
public static final PaintStyle.TextureAlignment TOP_RIGHT
public static PaintStyle.TextureAlignment[] values()
for (PaintStyle.TextureAlignment c : PaintStyle.TextureAlignment.values()) System.out.println(c);(按照声明的顺序返回包含此枚举类型常量的数组。此方法可用于迭代常量,如下所示: for (PaintStyle.TextureAlignment c : PaintStyle.TextureAlignment.values()) System.out.println(c);)
public static PaintStyle.TextureAlignment valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
(name - 要返回的枚举常量的名称。)
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified name
(java.lang.IllegalArgumentException - 如果此枚举类型没有具有指定名称的常量)
java.lang.NullPointerException
- if the argument is null
(java.lang.NullPointerException - 如果参数为空)
public static PaintStyle.TextureAlignment fromOoxmlId(java.lang.String ooxmlId)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.