Package org.apache.poi.sl.usermodel
Enum Class PaintStyle.PaintModifier
- All Implemented Interfaces:
Serializable
,Comparable<PaintStyle.PaintModifier>
,Constable
- Enclosing interface:
- PaintStyle
The PaintStyle can be modified by secondary sources, e.g. the attributes in the preset shapes.
These modifications need to be taken into account when the final color is determined.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptiondarken the paint/fillingdarken (...lighten the paint/fillinglighten (...don't use any paint/filluse the paint/filling as-is -
Method Summary
Modifier and TypeMethodDescriptionstatic PaintStyle.PaintModifier
Returns the enum constant of this class with the specified name.static PaintStyle.PaintModifier[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
don't use any paint/fill -
NORM
use the paint/filling as-is -
LIGHTEN
lighten the paint/filling -
LIGHTEN_LESS
lighten (... a bit less) the paint/filling -
DARKEN
darken the paint/filling -
DARKEN_LESS
darken (... a bit less) the paint/filling
-
-
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
-