public abstract class ConstantFormWKN extends MarkGraphicLegend
LegendStructure description for all the MarkGraphic instances where the only varying parameters are the dimensions
of the associated ViewBox. That means the Fill, the Stroke and the StringParameter containing the well-known name
definition are constants.| Constructor and Description |
|---|
ConstantFormWKN()
Builds a new default
ConstantFormWKN associated to a default
MarkGraphic. |
ConstantFormWKN(MarkGraphic mark,
LegendStructure viewBoxLegend)
Builds a new ConstantFormWKN from the given mark and viewBoxLegend.
|
ConstantFormWKN(MarkGraphic mark,
StringLiteralLegend wknLegend,
LegendStructure viewBoxLegend,
ConstantSolidFill fillLegend,
ConstantPenStroke strokeLegend)
Build a default
LegendStructure that describes a MarkGraphic
instance. |
| Modifier and Type | Method and Description |
|---|---|
ConstantPenStroke |
getPenStroke()
Retrieves the
ConstantPenStroke that is associated to this mark
graphic. |
ConstantSolidFill |
getSolidFill()
Retrieves the
ConstantSolidFill that is associated to this mark
graphic. |
Uom |
getStrokeUom()
Gets the unit of measure used to draw the associated
Stroke. |
Uom |
getSymbolUom()
Gets the unit of measure used to size the associated
Stroke. |
String |
getWellKnownName()
Gets the well-known name that describes the shape of the inner
MarkGraphic. |
void |
setPenStroke(ConstantPenStroke cps)
Sets the
ConstantPenStroke that is associated to this mark
graphic. |
void |
setStrokeUom(Uom u)
Sets the unit of measure used to draw the associated
Stroke. |
void |
setSymbolUom(Uom u)
Sets the unit of measure used to size the associated
Stroke. |
void |
setWellKnownName(String string)
Sets the well-known name that describes the shape of the inner
MarkGraphic. |
getFillLegend, getMarkGraphic, getStrokeLegend, getViewBoxLegend, getWknLegend, setFillLegend, setMarkGraphic, setStrokeLegend, setViewBoxLegend, setWknLegendpublic ConstantFormWKN(MarkGraphic mark, LegendStructure viewBoxLegend)
mark - viewBoxLegend - public ConstantFormWKN()
ConstantFormWKN associated to a default
MarkGraphic.public ConstantFormWKN(MarkGraphic mark, StringLiteralLegend wknLegend, LegendStructure viewBoxLegend, ConstantSolidFill fillLegend, ConstantPenStroke strokeLegend)
LegendStructure that describes a MarkGraphic
instance.mark - wknLegend - viewBoxLegend - fillLegend - strokeLegend - public ConstantSolidFill getSolidFill()
ConstantSolidFill that is associated to this mark
graphic. It can be used to configure safely the underlying MarkGraphic without threatening the found analysis.public ConstantPenStroke getPenStroke()
ConstantPenStroke that is associated to this mark
graphic. It can be used to configure safely the underlying PenStroke without threatening the found analysis.public void setPenStroke(ConstantPenStroke cps)
ConstantPenStroke that is associated to this mark
graphic.cps - public String getWellKnownName()
MarkGraphic.public void setWellKnownName(String string)
MarkGraphic.string - The new WellKnownName.public Uom getStrokeUom()
Stroke.public void setStrokeUom(Uom u)
Stroke.u - public Uom getSymbolUom()
Stroke.public void setSymbolUom(Uom u)
Stroke.u - Copyright © 2015 IRSTV CNRS-FR-2488. All Rights Reserved.