org.geotools.styling
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.

Author:
Ian Turton
Module:

Method Summary
 void accept(StyleVisitor visitor)
          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
 void setAnchorPointX(Expression x)
          Set the X coordinate for the anchor point
 void 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

setAnchorPointX

void setAnchorPointX(Expression x)
Set the X coordinate for the anchor point

Parameters:
x - an 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

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


Copyright © 1996-2009 Geotools. All Rights Reserved.