Package org.apache.poi.hwmf.record
Enum Class HwmfPenStyle.HwmfLineDash
- All Implemented Interfaces:
Serializable
,Comparable<HwmfPenStyle.HwmfLineDash>
,Constable
- Enclosing class:
- HwmfPenStyle
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe pen is dashed.The pen has alternating dashes and dots.The pen has dashes and double dots.The pen is dotted.The pen is solid.The pen is invisible.The pen is solid.The pen uses a styling array supplied by the user. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic HwmfPenStyle.HwmfLineDash
Returns the enum constant of this class with the specified name.static HwmfPenStyle.HwmfLineDash[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SOLID
The pen is solid. -
DASH
The pen is dashed. (-----) -
DOT
The pen is dotted. (.....) -
DASHDOT
The pen has alternating dashes and dots. (_._._._) -
DASHDOTDOT
The pen has dashes and double dots. (_.._.._) -
NULL
The pen is invisible. -
INSIDEFRAME
The pen is solid. When this pen is used in any drawing record that takes a bounding rectangle, the dimensions of the figure are shrunk so that it fits entirely in the bounding rectangle, taking into account the width of the pen. -
USERSTYLE
The pen uses a styling array supplied by the user. (this is currently not supported and drawn as solid ... no idea where the user styling is supposed to come from ...)
-
-
Field Details
-
wmfFlag
public final int wmfFlag -
dashes
public final float[] dashes
-
-
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
-