public class LineParameters extends Object implements SymbolParameters
PenStroke.| Constructor and Description |
|---|
LineParameters(Color c,
Double op,
Double w,
String d)
Build a new
LineParameters with the given arguments. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Color |
getLineColor()
The color of the line
|
String |
getLineDash()
The dash pattern of the line
|
Double |
getLineOpacity()
The opacity of the line
|
Double |
getLineWidth()
The width of the line
|
int |
hashCode() |
public LineParameters(Color c, Double op, Double w, String d)
LineParameters with the given arguments.c - The color, set to Color.BLACK if nullop - The opacity, set to 1.0 if null. If it's out of [0,1], will be set to the closest extremum of this
interval.w - The width, set to 0.25 if null.d - The dash pattern, set to the empty string if null or not valid.public Color getLineColor()
public Double getLineOpacity()
public Double getLineWidth()
public String getLineDash()
public boolean equals(Object o)
equals in interface SymbolParametersequals in class Objectpublic int hashCode()
hashCode in interface SymbolParametershashCode in class ObjectCopyright © 2015 IRSTV CNRS-FR-2488. All Rights Reserved.