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. $Id: AnchorPoint.java,v 1.5 2003/08/19 13:03:03 ianturton Exp $

Author:
Ian Turton

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

public Expression getAnchorPointX()
get the x coordinate of the anchor point

Returns:
the expression which represents the X coordinate

setAnchorPointX

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

Parameters:
x - an expression which represents the X coordinate

getAnchorPointY

public Expression getAnchorPointY()
get the y coordinate of the anchor point

Returns:
the expression which represents the Y coordinate

setAnchorPointY

public void setAnchorPointY(Expression y)
set the Y coordinate for the anchor point

Parameters:
y - an expression which represents the Y coordinate

accept

public void accept(StyleVisitor visitor)
calls the visit method of a StyleVisitor

Parameters:
visitor - the style visitor


Copyright © GeoTools. All Rights Reserved.