public class AreaParameters extends LineParameters
SolidFill.| Constructor and Description |
|---|
AreaParameters()
Builds a new
AreaParameters with the default values that are defined for a SolidFill and a PenStroke. |
AreaParameters(Color lineCol,
Double lineOp,
Double lineWidth,
String lineDash,
Color fillCol,
Double fillOp)
Build a new
AreaParameters with the given arguments. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Color |
getFillColor()
Gets the Color of the fill of this configuration.
|
Double |
getFillOpacity()
Gets the opacity of the fill of this configuration.
|
int |
hashCode() |
getLineColor, getLineDash, getLineOpacity, getLineWidthpublic AreaParameters()
AreaParameters with the default values that are defined for a SolidFill and a PenStroke.public AreaParameters(Color lineCol, Double lineOp, Double lineWidth, String lineDash, Color fillCol, Double fillOp)
AreaParameters with the given arguments.lineCol - The line color, set to Color.BLACK if nulllineOp - 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.lineWidth - The width, set to 0.25 if null.lineDash - The dash pattern, set to the empty string if null or not valid.fillCol - the colour used to fill the areafillOp - the opacity of the fillpublic Color getFillColor()
public Double getFillOpacity()
public boolean equals(Object o)
equals in interface SymbolParametersequals in class LineParameterspublic int hashCode()
hashCode in interface SymbolParametershashCode in class LineParametersCopyright © 2015 IRSTV CNRS-FR-2488. All Rights Reserved.