org.geotools.styling
Interface AnchorPoint

All Superinterfaces:
AnchorPoint

public interface AnchorPoint
extends AnchorPoint

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

Author:
Ian Turton

Field Summary
static AnchorPoint DEFAULT
           
 
Method Summary
 void accept(StyleVisitor visitor)
          calls the visit method of a StyleVisitor
 Expression getAnchorPointX()
          get the x 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 AnchorPoint
accept, getAnchorPointY
 

Field Detail

DEFAULT

static final AnchorPoint DEFAULT
Method Detail

getAnchorPointX

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

Specified by:
getAnchorPointX in interface AnchorPoint
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

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-2014 Geotools. All Rights Reserved.