Package org.apache.poi.hwmf.record
Enum HwmfBrushStyle
- All Implemented Interfaces:
Serializable,Comparable<HwmfBrushStyle>,java.lang.constant.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 supported(POI arbitrary:) EMF/EMF+ specific value for linear gradient paintNot 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 HwmfBrushStylevalueOf(int flag) Returns the enum constant of this type with the specified name.static HwmfBrushStyleReturns 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.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
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 -
BS_LINEAR_GRADIENT
(POI arbitrary:) EMF/EMF+ specific value for linear gradient paint
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
flag- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-