public class NullPenStrokeLegend extends Object implements ConstantPenStroke
PenStroke that is null can be considered as a constant : it is not dependant upon any
parameter and will always be (not) rendered the same way. It can happen in a AreaSymbolizer where
only the Fill is set.| Constructor and Description |
|---|
NullPenStrokeLegend() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDashArray()
Gest the
String that represents the dash pattern for the
associated PenStroke. |
ConstantSolidFill |
getFillLegend()
Gets the analysis obtained from the inner solid fill.
|
Color |
getLineColor()
Gets the color of the associated
PenStroke. |
double |
getLineOpacity()
Gets the opacity of the associated
PenStroke. |
double |
getLineWidth()
Gets the width of the associated
PenStroke. |
Stroke |
getStroke()
Gets the
Stroke instance associated to this
StrokeLegend. |
Uom |
getStrokeUom()
Gets the unit of measure used to drawn the underlying
PenStroke. |
void |
setDashArray(String str)
Sets the
String that represents the dash pattern for the
associated PenStroke. |
void |
setLineColor(Color col)
Sets the Color of the associated
PenStroke. |
void |
setLineOpacity(double tr)
Sets the opacity of the associated
PenStroke. |
void |
setLineWidth(double width)
Sets the width of the associated
PenStroke. |
void |
setStrokeUom(Uom u)
Sets the unit of measure used to drawn the underlying
PenStroke. |
public ConstantSolidFill getFillLegend()
ConstantPenStrokegetFillLegend in interface ConstantPenStrokepublic Color getLineColor()
ConstantPenStrokePenStroke.getLineColor in interface ConstantPenStrokepublic Stroke getStroke()
StrokeLegendStroke instance associated to this
StrokeLegend.getStroke in interface StrokeLegendpublic void setLineColor(Color col)
ConstantPenStrokePenStroke.setLineColor in interface ConstantPenStrokepublic double getLineWidth()
ConstantPenStrokePenStroke.getLineWidth in interface ConstantPenStrokepublic void setLineWidth(double width)
ConstantPenStrokePenStroke.setLineWidth in interface ConstantPenStrokepublic String getDashArray()
ConstantPenStrokeString that represents the dash pattern for the
associated PenStroke.getDashArray in interface ConstantPenStrokeSymbolizer does not have such an array, an empty String is returned.public void setDashArray(String str)
ConstantPenStrokeString that represents the dash pattern for the
associated PenStroke.setDashArray in interface ConstantPenStrokepublic double getLineOpacity()
ConstantPenStrokePenStroke.getLineOpacity in interface ConstantPenStrokepublic void setLineOpacity(double tr)
ConstantPenStrokePenStroke.setLineOpacity in interface ConstantPenStrokepublic Uom getStrokeUom()
ConstantPenStrokePenStroke.getStrokeUom in interface ConstantPenStrokepublic void setStrokeUom(Uom u)
ConstantPenStrokePenStroke.setStrokeUom in interface ConstantPenStrokeCopyright © 2015 IRSTV CNRS-FR-2488. All Rights Reserved.