org.geotools.styling
Interface PointPlacement

All Superinterfaces:
LabelPlacement
All Known Implementing Classes:
PointPlacementImpl

public interface PointPlacement
extends LabelPlacement

A PointPlacement specifies how a text label is positioned relative to a geometric point. $Id: PointPlacement.java,v 1.4 2003/08/01 16:54:21 ianturton Exp $

Author:
Ian Turton

Method Summary
 void accept(StyleVisitor visitor)
           
 AnchorPoint getAnchorPoint()
          Returns the AnchorPoint which identifies the location inside a textlabel to use as an "anchor" for positioning it relative to a point geometry.
 Displacement getDisplacement()
          Returns the Displacement which gives X and Y offset displacements to use for rendering a text label near a point.
 Expression getRotation()
          Returns the rotation of the label.
 void setAnchorPoint(AnchorPoint anchorPoint)
          sets the AnchorPoint which identifies the location inside a textlabel to use as an "anchor" for positioning it relative to a point geometry.
 void setDisplacement(Displacement displacement)
          sets the Displacement which gives X and Y offset displacements to use for rendering a text label near a point.
 void setRotation(Expression rotation)
          sets the rotation of the label.
 

Method Detail

getAnchorPoint

public AnchorPoint getAnchorPoint()
Returns the AnchorPoint which identifies the location inside a textlabel to use as an "anchor" for positioning it relative to a point geometry.


setAnchorPoint

public void setAnchorPoint(AnchorPoint anchorPoint)
sets the AnchorPoint which identifies the location inside a textlabel to use as an "anchor" for positioning it relative to a point geometry.


getDisplacement

public Displacement getDisplacement()
Returns the Displacement which gives X and Y offset displacements to use for rendering a text label near a point.


setDisplacement

public void setDisplacement(Displacement displacement)
sets the Displacement which gives X and Y offset displacements to use for rendering a text label near a point.


getRotation

public Expression getRotation()
Returns the rotation of the label.


setRotation

public void setRotation(Expression rotation)
sets the rotation of the label.


accept

public void accept(StyleVisitor visitor)
Specified by:
accept in interface LabelPlacement


Copyright © GeoTools. All Rights Reserved.