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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
accept(StyleVisitor visitor)
calls the visit method of a StyleVisitorObject
accept(TraversingStyleVisitor visitor, Object extraData)
calls the visit method of a StyleVisitorExpression
getAnchorPointX()
get the x coordinate of the anchor pointExpression
getAnchorPointY()
get the y coordinate of the anchor pointvoid
setAnchorPointX(Expression x)
Set the X coordinate for the anchor pointvoid
setAnchorPointY(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
-
-