| org.geotools.styling.Displacement
All known Subclasses: org.geotools.styling.DisplacementImpl,
Displacement | public interface Displacement extends GTComponent(Code) | | A Displacement gives X and Y offset displacements to use for rendering a
text label near a point.
author: Ian Turton, CCG version: $Id: Displacement.java 25459 2007-05-08 05:19:25Z jgarnett $ |
Method Summary | |
void | accept(StyleVisitor visitor) | Expression | getDisplacementX() Returns an expression that computes a pixel offset from the geometry
point. | Expression | getDisplacementY() Returns an expression that computes a pixel offset from the geometry
point. | void | setDisplacementX(Expression x) Sets the expression that computes a pixel offset from the geometry
point. | void | setDisplacementY(Expression y) Sets the expression that computes a pixel offset from the geometry
point. |
getDisplacementX | Expression getDisplacementX()(Code) | | Returns an expression that computes a pixel offset from the geometry
point. This offset point is where the text's anchor point gets
located. If this expression is null, the default offset of zero is
used.
DOCUMENT ME! |
getDisplacementY | Expression getDisplacementY()(Code) | | Returns an expression that computes a pixel offset from the geometry
point. This offset point is where the text's anchor point gets
located. If this expression is null, the default offset of zero is
used.
DOCUMENT ME! |
setDisplacementX | void setDisplacementX(Expression x)(Code) | | Sets the expression that computes a pixel offset from the geometry
point.
Parameters: x - DOCUMENT ME! |
setDisplacementY | void setDisplacementY(Expression y)(Code) | | Sets the expression that computes a pixel offset from the geometry
point.
Parameters: y - DOCUMENT ME! |
|
|