public enum StrokeType extends java.lang.Enum<StrokeType>
Enum Constant and Description |
---|
DASH |
DASHDOT |
DOT |
LONGDASH |
NONE |
SOLID |
Modifier and Type | Method and Description |
---|---|
static StrokeType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StrokeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StrokeType NONE
public static final StrokeType SOLID
public static final StrokeType DASH
public static final StrokeType DOT
public static final StrokeType DASHDOT
public static final StrokeType LONGDASH
public static StrokeType[] values()
for (StrokeType c : StrokeType.values()) System.out.println(c);
public static StrokeType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null