public class PenStrokeLegend extends Object implements StrokeLegend
LegendStructure that gathers all the analysis that can be made inside a
PenStroke. When a more accurate analysis can be recognized, it's
really better to instanciate the corresponding specialization of this class.| Constructor and Description |
|---|
PenStrokeLegend() |
PenStrokeLegend(PenStroke ps,
NumericLegend width,
LegendStructure fill,
LegendStructure dash)
Build a new, default,
PenStrokeLegend instance. |
| Modifier and Type | Method and Description |
|---|---|
LegendStructure |
getDashLegend()
Get the analysis made on the dash array.
|
LegendStructure |
getFillAnalysis()
Get the analysis made on the
Fill used to draw the associated
PenStroke. |
NumericLegend |
getLineWidthLegend()
Gets the analysis made on the
Width associated to this PenStroke. |
Stroke |
getStroke()
Retrieve the PenStroke contained in this
LegendStructure. |
Uom |
getStrokeUom()
Gets the unit of measure of the associated
Stroke. |
protected void |
setDashLegend(LegendStructure ls)
Replace the analysis that has been made on the dash array.
|
void |
setLineWidthLegend(NumericLegend param)
Sets the analysis made on the
Width associated to this PenStroke. |
void |
setStrokeUom(Uom u)
Sets the unit of measure of the associated
Stroke. |
public PenStrokeLegend()
public PenStrokeLegend(PenStroke ps, NumericLegend width, LegendStructure fill, LegendStructure dash)
PenStrokeLegend instance.ps - public Stroke getStroke()
LegendStructure.getStroke in interface StrokeLegendpublic Uom getStrokeUom()
Stroke.public void setStrokeUom(Uom u)
Stroke.u - public LegendStructure getDashLegend()
null.protected void setDashLegend(LegendStructure ls)
ls - public LegendStructure getFillAnalysis()
Fill used to draw the associated
PenStroke.public NumericLegend getLineWidthLegend()
Width associated to this PenStroke.public void setLineWidthLegend(NumericLegend param)
Width associated to this PenStroke.param - Copyright © 2015 IRSTV CNRS-FR-2488. All Rights Reserved.