| Constructor and Description |
|---|
DashPattern(float onOff)
Creates a pattern with equal on and off length, starting with phase
0.
|
DashPattern(float on,
float off)
Creates a pattern with different on and off length, starting with
phase 0.
|
DashPattern(float on,
float off,
float phase)
Creates a pattern with different on and off length, starting with the
given phase .
|
| Modifier and Type | Method and Description |
|---|---|
float |
getOff() |
float |
getOn() |
float[] |
getPattern() |
float |
getPhase() |
public DashPattern(float onOff)
onOff - the length of the on/off part.public DashPattern(float on,
float off)
on - the length of the off part.off - the length of the off part.public DashPattern(float on,
float off,
float phase)
on - the length of the off part.off - the length of the off part.phase - the phase to start the pattern with.Copyright © 2021. All rights reserved.