public static class TLspLineStyle.DashPattern extends Object
Modifier and Type | Field and Description |
---|---|
static short |
DASH_DOUBLE_DOT
Stipple pattern for a dash-double dotted line
|
static short |
DOT
Stipple pattern for a dotted line
|
static short |
DOT_DASH
Stipple pattern for a dot-dashed line
|
static short |
LONG_DASH
Stipple pattern for a long-dashed line
|
static short |
LONG_SHORT_DASH
Stipple pattern for a long-short-short dashed line
|
static short |
SHORT_DASH
Stipple pattern for a short dashed line
|
static short |
SOLID
Stipple pattern for a solid line
|
Constructor and Description |
---|
DashPattern(short aStipplePattern,
int aPatternScale)
A dash pattern is characterized by two attributes: a stipple pattern and a pattern scale.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
getPatternScale()
Gets the stipple pattern pattern scale.
|
short |
getStipplePattern()
Gets the stipple pattern.
|
int |
hashCode() |
String |
toString() |
public static final short SOLID
public static final short DOT
public static final short DOT_DASH
public static final short LONG_DASH
public static final short LONG_SHORT_DASH
public static final short SHORT_DASH
public static final short DASH_DOUBLE_DOT
public DashPattern(short aStipplePattern, int aPatternScale)
aStipplePattern
- the stipple patternaPatternScale
- the pattern scalepublic short getStipplePattern()
public int getPatternScale()