public final class Dash extends Object
Class representing line dash pattern.
Constructor and Description |
---|
Dash(int on,
int off)
Constructor for Dash.
|
Modifier and Type | Method and Description |
---|---|
int |
getOff()
Gets length of gap between dashes.
|
int |
getOn()
Gets or sets length of dash.
|
void |
setOff(int value)
Sets length of gap between dashes.
|
void |
setOn(int value)
Sets length of dash.
|
public Dash(int on, int off)
Constructor for Dash.
on
- Length of the dash.off
- Length of the gap.public int getOn()
Gets or sets length of dash.
public void setOn(int value)
Sets length of dash.
value
- int valuepublic int getOff()
Gets length of gap between dashes.
public void setOff(int value)
Sets length of gap between dashes.
value
- int value