public enum LineStyle extends Enum<LineStyle>
HSSFShape
Enum Constant and Description |
---|
DASHDOTDOTSYS
PS_DASHDOTDOT system dash style
|
DASHDOTGEL
dash short dash
|
DASHDOTSYS
PS_DASHDOT system dash style
|
DASHGEL
dash style
|
DASHSYS
PS_DASH system dash style
|
DOTGEL
square dot style
|
DOTSYS
PS_DOT system dash style
|
LONGDASHDOTDOTGEL
long dash short dash short dash
|
LONGDASHDOTGEL
long dash short dash
|
LONGDASHGEL
long dash style
|
NONE
无
|
SOLID
Solid (continuous) pen
|
Modifier and Type | Method and Description |
---|---|
int |
getValue()
获取样式编码
|
static LineStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LineStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LineStyle SOLID
public static final LineStyle DASHSYS
public static final LineStyle DOTSYS
public static final LineStyle DASHDOTSYS
public static final LineStyle DASHDOTDOTSYS
public static final LineStyle DOTGEL
public static final LineStyle DASHGEL
public static final LineStyle LONGDASHGEL
public static final LineStyle DASHDOTGEL
public static final LineStyle LONGDASHDOTGEL
public static final LineStyle LONGDASHDOTDOTGEL
public static final LineStyle NONE
public static LineStyle[] values()
for (LineStyle c : LineStyle.values()) System.out.println(c);
public static LineStyle valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getValue()
Copyright © 2025. All rights reserved.