Dash
Contents
[
Hide
]Inheritance: java.lang.Object
public final class Dash
Class representing line dash pattern.
Constructors
Constructor | Description |
---|---|
Dash(int on, int off) | Constructor for Dash. |
Methods
Method | Description |
---|---|
getOn() | Gets or sets length of dash. |
setOn(int value) | Sets length of dash. |
getOff() | Gets length of gap between dashes. |
setOff(int value) | Sets length of gap between dashes. |
Dash(int on, int off)
public Dash(int on, int off)
Constructor for Dash.
Parameters:
Parameter | Type | Description |
---|---|---|
on | int | Length of the dash. |
off | int | Length of the gap. |
getOn()
public int getOn()
Gets or sets length of dash.
Returns: int - int value
setOn(int value)
public void setOn(int value)
Sets length of dash.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int | int value |
getOff()
public int getOff()
Gets length of gap between dashes.
Returns: int - int value
setOff(int value)
public void setOff(int value)
Sets length of gap between dashes.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int | int value |