public enum LineStroke extends java.lang.Enum<LineStroke>
Enum Constant and Description |
---|
DEFAULT |
DOTTED |
DOTTED_LARGE |
DOTTED_SMALL |
DOTTED_SMALL_THIN |
SPECIFIED_WIDTH |
Modifier and Type | Field and Description |
---|---|
static float |
DOT_LINE_THIN_WIDTH
Dotted thin line width.
|
static float |
DOT_LINE_WIDTH
Dotted line width.
|
static float |
DOT_STEP
Dotted line specific parameter.
|
static float |
DOT_STEP_LARGE
Dotted line specific parameter.
|
static float |
DOT_STEP_SMALL
Dotted line specific parameter.
|
Modifier and Type | Method and Description |
---|---|
static LineStroke |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LineStroke[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LineStroke DEFAULT
public static final LineStroke SPECIFIED_WIDTH
public static final LineStroke DOTTED
public static final LineStroke DOTTED_SMALL
public static final LineStroke DOTTED_SMALL_THIN
public static final LineStroke DOTTED_LARGE
public static final float DOT_STEP
public static final float DOT_STEP_LARGE
public static final float DOT_STEP_SMALL
public static final float DOT_LINE_WIDTH
public static final float DOT_LINE_THIN_WIDTH
public static LineStroke[] values()
for (LineStroke c : LineStroke.values()) System.out.println(c);
public static LineStroke 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