public interface GraphicLegend extends GraphicLegend
| Modifier and Type | Method and Description |
|---|---|
AnchorPoint |
getAnchorPoint()
The AnchorPoint element of a PointSymbolizer gives the location inside of a Graphic (or label
- see 11.4.4) to use for anchoring the graphic to the main-geometry point.
|
Displacement |
getDisplacement()
The Displacement gives the X and Y displacements from the "hot-spot" point.
|
Expression |
getOpacity()
This specifies the level of translucency to use when rendering the graphic.
|
Expression |
getRotation()
This parameter defines the rotation of a graphic in the clockwise direction about its centre
point in decimal degrees.
|
Expression |
getSize()
The size of the mark if specified.
|
List<GraphicalSymbol> |
graphicalSymbols()
The items in this list are either a Mark or a ExternalGraphic.
|
void |
setAnchorPoint(AnchorPoint anchor) |
void |
setDisplacement(Displacement displacement) |
void |
setOpacity(Expression opacity)
Graphic opacity.
|
void |
setRotation(Expression rotation)
This parameter defines the rotation of a graphic in the clockwise direction about its centre
point in decimal degrees.
|
void |
setSize(Expression size)
Indicates the size at which the graphic should be displayed.
|
acceptAnchorPoint getAnchorPoint()
GraphicgetAnchorPoint in interface Graphicvoid setAnchorPoint(AnchorPoint anchor)
Displacement getDisplacement()
GraphicIf Displacement is used in conjunction with Size and/or Rotation then the graphic symbol shall be scaled and/or rotated before it is displaced.s
getDisplacement in interface Graphicvoid setDisplacement(Displacement displacement)
Expression getOpacity()
getOpacity in interface Graphicvoid setOpacity(Expression opacity)
opacity - New value of property opacity.Expression getRotation()
getRotation in interface Graphicvoid setRotation(Expression rotation)
rotation - in decimal degreesExpression getSize()
If unspecified:
void setSize(Expression size)
If this value is null the natural size of the graphic will be used; or for graphics without a natural size like SVG files 16x16 will be used.
size - List<GraphicalSymbol> graphicalSymbols()
This list may be directly edited; the items are considered in order from most preferred (say an SVG file) to least preferred (a simple shape) with the intension that the system will make use of the first entry which it is capabile of displaying.
graphicalSymbols in interface GraphicCopyright © 1996–2019 Geotools. All rights reserved.