Dash

Inheritance: java.lang.Object

public final class Dash

Class representing line dash pattern.

Constructors

ConstructorDescription
Dash(int on, int off)Constructor for Dash.

Methods

MethodDescription
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:

ParameterTypeDescription
onintLength of the dash.
offintLength 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:

ParameterTypeDescription
valueintint 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:

ParameterTypeDescription
valueintint value