public final class DashStyle
extends java.lang.Object
Stroke.getDashStyle(),
Stroke.setDashStyle(int)| Modifier and Type | Field and Description |
|---|---|
static int |
DASH
Dash style.
|
static int |
DASH_DOT
Dash short dash.
|
static int |
DEFAULT
Same as
SOLID. |
static int |
DOT
Square dot style.
|
static int |
length |
static int |
LONG_DASH
Long dash style.
|
static int |
LONG_DASH_DOT
Long dash short dash.
|
static int |
LONG_DASH_DOT_DOT
Long dash short dash short dash.
|
static int |
SHORT_DASH
System dash style.
|
static int |
SHORT_DASH_DOT
System dash style.
|
static int |
SHORT_DASH_DOT_DOT
System dash style.
|
static int |
SHORT_DOT
System dash style.
|
static int |
SOLID
Solid (continuous) pen.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
fromName(java.lang.String dashStyleName) |
static java.lang.String |
getName(int dashStyle) |
static int[] |
getValues() |
static java.lang.String |
toString(int dashStyle) |
public static final int SOLID
public static final int SHORT_DASH
public static final int SHORT_DOT
public static final int SHORT_DASH_DOT
public static final int SHORT_DASH_DOT_DOT
public static final int DOT
public static final int DASH
public static final int LONG_DASH
public static final int DASH_DOT
public static final int LONG_DASH_DOT
public static final int LONG_DASH_DOT_DOT
public static final int DEFAULT
SOLID.public static final int length