@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()
@XmlParameter(value="AnchorPoint") AnchorPoint getAnchorPoint()
@XmlParameter(value="Displacement") Displacement getDisplacement()
@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–2018 Geotools. All rights reserved.