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);
public static HwmfBrushStyle valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static HwmfBrushStyle valueOf(int flag)
Copyright 2020 The Apache Software Foundation or its licensors, as applicable.