public enum HwmfBrushStyle extends java.lang.Enum<HwmfBrushStyle>
Enum Constant and Description |
---|
BS_DIBPATTERN
A pattern brush specified by a DIB.
|
BS_DIBPATTERN8X8
Not supported
|
BS_DIBPATTERNPT
A pattern brush specified by a DIB.
|
BS_HATCHED
A brush that paints a predefined simple pattern, or "hatch", onto a solid background.
|
BS_INDEXED
Not supported
|
BS_LINEAR_GRADIENT
(POI arbitrary:) EMF/EMF+ specific value for linear gradient paint
|
BS_MONOPATTERN
Not supported
|
BS_NULL
A brush that does nothing.
|
BS_PATTERN
A brush that paints a pattern defined by a bitmap, which MAY be a Bitmap16 Object or a DeviceIndependentBitmap (DIB) Object.
|
BS_PATTERN8X8
Not supported
|
BS_SOLID
A brush that paints a single, constant color, either solid or dithered.
|
Modifier and Type | Method and Description |
---|---|
static HwmfBrushStyle |
valueOf(int flag) |
static HwmfBrushStyle |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
(返回具有指定名称的此类型的枚举常量。)
|
static HwmfBrushStyle[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
(按照声明的顺序返回包含此枚举类型常量的数组。)
|
public static final HwmfBrushStyle BS_SOLID
public static final HwmfBrushStyle BS_NULL
public static final HwmfBrushStyle BS_HATCHED
public static final HwmfBrushStyle BS_PATTERN
public static final HwmfBrushStyle BS_INDEXED
public static final HwmfBrushStyle BS_DIBPATTERN
public static final HwmfBrushStyle BS_DIBPATTERNPT
public static final HwmfBrushStyle BS_PATTERN8X8
public static final HwmfBrushStyle BS_DIBPATTERN8X8
public static final HwmfBrushStyle BS_MONOPATTERN
public static final HwmfBrushStyle BS_LINEAR_GRADIENT
public static HwmfBrushStyle[] values()
for (HwmfBrushStyle c : HwmfBrushStyle.values()) System.out.println(c);(按照声明的顺序返回包含此枚举类型常量的数组。此方法可用于迭代常量,如下所示: for (HwmfBrushStyle c : HwmfBrushStyle.values()) System.out.println(c);)
public static HwmfBrushStyle 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 HwmfBrushStyle valueOf(int flag)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.