Package org.geotools.api.style
Interface AnchorPoint
-
- All Known Implementing Classes:
AnchorPointImpl
public interface AnchorPointAn 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaccept(StyleVisitor visitor)calls the visit method of a StyleVisitorObjectaccept(TraversingStyleVisitor visitor, Object extraData)calls the visit method of a StyleVisitorExpressiongetAnchorPointX()get the x coordinate of the anchor pointExpressiongetAnchorPointY()get the y coordinate of the anchor pointvoidsetAnchorPointX(Expression x)Set the X coordinate for the anchor pointvoidsetAnchorPointY(Expression y)set the Y coordinate for the anchor point
-
-
-
Method Detail
-
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
Object accept(TraversingStyleVisitor visitor, Object extraData)
calls the visit method of a StyleVisitor- Parameters:
visitor- the style visitor
-
setAnchorPointX
void setAnchorPointX(Expression x)
Set the X coordinate for the anchor point- Parameters:
x- an expression which represents the X coordinate
-
setAnchorPointY
void setAnchorPointY(Expression y)
set the Y coordinate for the anchor point- Parameters:
y- an expression which represents the Y coordinate
-
accept
void accept(StyleVisitor visitor)
calls the visit method of a StyleVisitor- Parameters:
visitor- the style visitor
-
-