public static enum HwmfFill.WmfSetPolyfillMode.HwmfPolyfillMode extends java.lang.Enum<HwmfFill.WmfSetPolyfillMode.HwmfPolyfillMode>
Enum Constant and Description |
---|
ALTERNATE
Selects alternate mode (fills the area between odd-numbered and even-numbered polygon sides on each scan line).
|
WINDING
Selects winding mode (fills any region with a nonzero winding value).
|
Modifier and Type | Method and Description |
---|---|
static HwmfFill.WmfSetPolyfillMode.HwmfPolyfillMode |
valueOf(int wmfFlag) |
static HwmfFill.WmfSetPolyfillMode.HwmfPolyfillMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
(返回具有指定名称的此类型的枚举常量。)
|
static HwmfFill.WmfSetPolyfillMode.HwmfPolyfillMode[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
(按照声明的顺序返回包含此枚举类型常量的数组。)
|
public static final HwmfFill.WmfSetPolyfillMode.HwmfPolyfillMode ALTERNATE
public static final HwmfFill.WmfSetPolyfillMode.HwmfPolyfillMode WINDING
public static HwmfFill.WmfSetPolyfillMode.HwmfPolyfillMode[] values()
for (HwmfFill.WmfSetPolyfillMode.HwmfPolyfillMode c : HwmfFill.WmfSetPolyfillMode.HwmfPolyfillMode.values()) System.out.println(c);(按照声明的顺序返回包含此枚举类型常量的数组。此方法可用于迭代常量如下: for (HwmfFill.WmfSetPolyfillMode.HwmfPolyfillMode c : HwmfFill.WmfSetPolyfillMode.HwmfPolyfillMode.values()) System.out.println(c);)
public static HwmfFill.WmfSetPolyfillMode.HwmfPolyfillMode 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 HwmfFill.WmfSetPolyfillMode.HwmfPolyfillMode valueOf(int wmfFlag)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.