public class LinemodPrototype extends LinePrototype implements Comparable<LinemodPrototype>
Modifier and Type | Class and Description |
---|---|
static class |
LinemodPrototype.WidthMode |
Modifier and Type | Field and Description |
---|---|
boolean |
over |
LinemodPrototype.WidthMode |
widthMode |
color, dashed, dashedColor, realWidth, width
code, conditions, priority, range
Constructor and Description |
---|
LinemodPrototype()
Constructs a new
LinemodPrototype . |
LinemodPrototype(LinemodPrototype s,
Range range) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(LinemodPrototype s) |
int |
getWidth() |
float |
getWidth(float ref)
get width for overlays
|
void |
init() |
getDashed, setDashed, setWidth
public LinemodPrototype.WidthMode widthMode
public boolean over
public LinemodPrototype(LinemodPrototype s, Range range)
public LinemodPrototype()
LinemodPrototype
.public final void init()
init
in class LinePrototype
public float getWidth(float ref)
ref
- reference widthwidthMode
with a minimal value of 1public int getWidth()
getWidth
in class LinePrototype
public int compareTo(LinemodPrototype s)
compareTo
in interface Comparable<LinemodPrototype>