Package org.apache.poi.sl.usermodel
Enum Class StrokeStyle.LineDash
- All Implemented Interfaces:
Serializable
,Comparable<StrokeStyle.LineDash>
,Constable
- Enclosing interface:
- StrokeStyle
The line dash with pattern.
The pattern is derived empirically on PowerPoint 2010 and needs to be multiplied
with actual line width
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptiondash style - native 7dash short dash - native 9square dot style - native 6long dash style - native 8long dash short dash - native 10long dash short dash short dash - native 11Solid (continuous) pen - native 1PS_DASH system dash style - native 2PS_DASHDOT system dash style - native 4PS_DASHDOTDOT system dash style / native 5PS_DOT system dash style - native 3 -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic StrokeStyle.LineDash
fromNativeId
(int nativeId) static StrokeStyle.LineDash
fromOoxmlId
(int ooxmlId) static StrokeStyle.LineDash
Returns the enum constant of this class with the specified name.static StrokeStyle.LineDash[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SOLID
Solid (continuous) pen - native 1 -
DOT
square dot style - native 6 -
DASH
dash style - native 7 -
DASH_DOT
dash short dash - native 9 -
LG_DASH
long dash style - native 8 -
LG_DASH_DOT
long dash short dash - native 10 -
LG_DASH_DOT_DOT
long dash short dash short dash - native 11 -
SYS_DASH
PS_DASH system dash style - native 2 -
SYS_DOT
PS_DOT system dash style - native 3 -
SYS_DASH_DOT
PS_DASHDOT system dash style - native 4 -
SYS_DASH_DOT_DOT
PS_DASHDOTDOT system dash style / native 5
-
-
Field Details
-
pattern
public final int[] pattern -
nativeId
public final int nativeId -
ooxmlId
public final int ooxmlId
-
-
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
-
fromNativeId
-
fromOoxmlId
-