|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Displacement
A Displacement gives X and Y offset displacements to use for rendering a text label near a point.
modules/library/api (gt-api.jar)
Field Summary | |
---|---|
static Displacement |
DEFAULT
Default Displacement instance. |
static Displacement |
NULL
Null Displacement instance. |
Method Summary | |
---|---|
void |
accept(StyleVisitor visitor)
|
Expression |
getDisplacementX()
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. |
Methods inherited from interface Displacement |
---|
accept, getDisplacementY |
Field Detail |
---|
static final Displacement DEFAULT
static final Displacement NULL
Method Detail |
---|
Expression getDisplacementX()
getDisplacementX
in interface Displacement
void setDisplacementX(Expression x)
void setDisplacementY(Expression y)
void accept(StyleVisitor visitor)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |