public abstract class ConstantColorAndDashesPSLegend extends PenStrokeLegend
PenStroke where the Color and the dash pattern are
constant.| Constructor and Description |
|---|
ConstantColorAndDashesPSLegend() |
ConstantColorAndDashesPSLegend(PenStroke ps,
NumericLegend width,
LegendStructure fill,
LegendStructure dash)
Build an instance of
ConstantColorAndDashesPSLegend using the
given parameters. |
| Modifier and Type | Method and Description |
|---|---|
String |
getDashArray()
Get the
String that represent the dash pattern for the
associated PenStroke. |
Color |
getLineColor()
Gets the
Color of the associated PenStroke. |
double |
getLineOpacity()
Gets the
Color of the associated PenStroke. |
void |
setDashArray(String str)
Set the
String that represent the dash pattern for the
associated PenStroke. |
void |
setLineColor(Color col)
Sets the
Color of the associated PenStroke. |
void |
setLineOpacity(double opacity)
Sets the
Color of the associated PenStroke. |
getDashLegend, getFillAnalysis, getLineWidthLegend, getStroke, getStrokeUom, setDashLegend, setLineWidthLegend, setStrokeUompublic ConstantColorAndDashesPSLegend()
public ConstantColorAndDashesPSLegend(PenStroke ps, NumericLegend width, LegendStructure fill, LegendStructure dash)
ConstantColorAndDashesPSLegend using the
given parameters.ps - width - fill - dash - public Color getLineColor()
Color of the associated PenStroke.public void setLineColor(Color col)
Color of the associated PenStroke.col - public double getLineOpacity()
Color of the associated PenStroke.public void setLineOpacity(double opacity)
Color of the associated PenStroke.opacity - The new opacity.public String getDashArray()
String that represent the dash pattern for the
associated PenStroke.Symbolizer does not have such an array, an empty String is returned.public void setDashArray(String str)
String that represent the dash pattern for the
associated PenStroke.str - The new dash array.Copyright © 2015 IRSTV CNRS-FR-2488. All Rights Reserved.