org.opengis.style
Interface AnchorPoint

All Known Subinterfaces:
AnchorPoint
All Known Implementing Classes:
AnchorPointImpl

@XmlElement(value="AnchorPoint")
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
 Object accept(StyleVisitor visitor, Object extraData)
          calls the visit method of a StyleVisitor
 Expression getAnchorPointX()
          get the x coordinate of the anchor point
 Expression getAnchorPointY()
          get the y coordinate of the anchor point
 

Method Detail

getAnchorPointX

@XmlElement(value="AnchorPointX")
Expression getAnchorPointX()
get the x coordinate of the anchor point

Returns:
the expression which represents the X coordinate

getAnchorPointY

@XmlElement(value="AnchorPointY")
Expression getAnchorPointY()
get the y coordinate of the anchor point

Returns:
the expression which represents the Y coordinate

accept

@Extension
Object accept(StyleVisitor visitor,
                        Object extraData)
calls the visit method of a StyleVisitor

Parameters:
visitor - the style visitor


Copyright © 1996-2014 Geotools. All Rights Reserved.