@XmlElement(value="Graphic") public interface Graphic
Modifier and Type | Method and Description |
---|---|
Object |
accept(StyleVisitor visitor,
Object extraData)
Calls the visit method of a StyleVisitor
Please note StlyeVisitor has methods to directly visit a Graphic, GraphicLegend, or
GraphicFill or GraphicStroke; please call the most appropriate method.
|
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()
Indicates the level of translucency as a floating point number whose value is between 0.0 and
1.0 (inclusive).
|
Expression |
getRotation()
Returns the expression that will be used to calculate the rotation of the graphic when it is
drawn.
|
Expression |
getSize()
The Size element gives the absolute size of the graphic in uoms encoded as a floating- point
number.
|
List<GraphicalSymbol> |
graphicalSymbols()
Returns the list of external image files or marks that comprise this graphic.
|
@XmlElement(value="ExternalGraphic,Mark") List<GraphicalSymbol> graphicalSymbols()
Mark
or ExternalGraphic
.
@XmlParameter(value="stroke-opacity") Expression getOpacity()
@XmlParameter(value="Size") Expression getSize()
@XmlParameter(value="Rotation") Expression getRotation()
The Rotation element gives the rotation of a graphic in the clockwise direction about its center point in decimal degrees, encoded as a floating-point number. Negative values mean counter-clockwise rotation. The default value is 0.0 (no rotation). Note that there is no connection between source geometry types and rotations; the point used for plotting has no inherent direction. Also, the point within the graphic about which it is rotated is format dependent. If a format does not include an inherent rotation point, then the point of rotation should be the centroid.
@XmlParameter(value="AnchorPoint") AnchorPoint getAnchorPoint()
@XmlParameter(value="Displacement") Displacement getDisplacement()
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
@Extension Object accept(StyleVisitor visitor, Object extraData)
Please note StlyeVisitor has methods to directly visit a Graphic, GraphicLegend, or GraphicFill or GraphicStroke; please call the most appropriate method.
visitor
- the style visitorCopyright © 1996–2019 Geotools. All rights reserved.