Package org.apache.poi.hwmf.record
Enum Class HwmfBrushStyle
- All Implemented Interfaces:
Serializable
,Comparable<HwmfBrushStyle>
,Constable
A 16-bit unsigned integer that defines the brush style. The legal values for this
field are defined as follows: if the value is not BS_PATTERN, BS_DIBPATTERNPT MUST be
assumed.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA pattern brush specified by a DIB.Not supportedA pattern brush specified by a DIB.A brush that paints a predefined simple pattern, or "hatch", onto a solid background.Not supportedNot supportedA brush that does nothing.A brush that paints a pattern defined by a bitmap, which MAY be a Bitmap16 Object or a DeviceIndependentBitmap (DIB) Object.Not supportedA brush that paints a single, constant color, either solid or dithered. -
Method Summary
Modifier and TypeMethodDescriptionstatic HwmfBrushStyle
Returns the enum constant of this class with the specified name.static HwmfBrushStyle[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BS_SOLID
A brush that paints a single, constant color, either solid or dithered. -
BS_NULL
A brush that does nothing. Using a BS_NULL brush in a graphics operation MUST have the same effect as using no brush at all. -
BS_HATCHED
A brush that paints a predefined simple pattern, or "hatch", onto a solid background. -
BS_PATTERN
A brush that paints a pattern defined by a bitmap, which MAY be a Bitmap16 Object or a DeviceIndependentBitmap (DIB) Object. -
BS_INDEXED
Not supported -
BS_DIBPATTERN
A pattern brush specified by a DIB. -
BS_DIBPATTERNPT
A pattern brush specified by a DIB. -
BS_PATTERN8X8
Not supported -
BS_DIBPATTERN8X8
Not supported -
BS_MONOPATTERN
Not supported
-
-
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
-