Package org.geotools.api.style
Interface AnchorPoint
- All Known Implementing Classes:
AnchorPointImpl
public interface AnchorPoint
An AnchorPoint identifies the location inside a textlabel to use as an "anchor" for positioning it relative to a
point geometry.
- Since:
- GeoAPI 2.2
- Author:
- Open Geospatial Consortium, Johann Sorel (Geomatys), Ian Turton
-
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(StyleVisitor visitor) calls the visit method of a StyleVisitoraccept
(TraversingStyleVisitor visitor, Object extraData) calls the visit method of a StyleVisitorget the x coordinate of the anchor pointget the y coordinate of the anchor pointvoid
Set the X coordinate for the anchor pointvoid
set the Y coordinate for the anchor point
-
Method Details
-
getAnchorPointX
Expression getAnchorPointX()get the x coordinate of the anchor point- Returns:
- the expression which represents the X coordinate
-
getAnchorPointY
Expression getAnchorPointY()get the y coordinate of the anchor point- Returns:
- the expression which represents the Y coordinate
-
accept
calls the visit method of a StyleVisitor- Parameters:
visitor
- the style visitor
-
setAnchorPointX
Set the X coordinate for the anchor point- Parameters:
x
- an expression which represents the X coordinate
-
setAnchorPointY
set the Y coordinate for the anchor point- Parameters:
y
- an expression which represents the Y coordinate
-
accept
calls the visit method of a StyleVisitor- Parameters:
visitor
- the style visitor
-