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.
|
accept
AnchorPoint getAnchorPoint()
Graphic
getAnchorPoint
in interface Graphic
void setAnchorPoint(AnchorPoint anchor)
Displacement getDisplacement()
Graphic
If 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 Graphic
void setDisplacement(Displacement displacement)
Expression getOpacity()
getOpacity
in interface Graphic
void setOpacity(Expression opacity)
opacity
- New value of property opacity.Expression getRotation()
getRotation
in interface Graphic
void 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 Graphic
Copyright © 1996–2019 Geotools. All rights reserved.