org.geotools.styling
Interface AnchorPoint

All Superinterfaces:
GTComponent
All Known Implementing Classes:
AnchorPointImpl

public interface AnchorPoint
extends GTComponent

An AnchorPoint identifies the location inside a textlabel to use as an "anchor" for positioning it relative to a point geometry.

Version:
$Id: AnchorPoint.java 18021 2006-02-14 20:36:18Z jdeolive $
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
 
Methods inherited from interface org.geotools.event.GTComponent
changed, getNote, getParent, removed, setNote
 

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.