A Displacement gives X and Y offset displacements to use for rendering a text label, graphic or other Symbolizer near a point. More...
#include <Displacement.h>
Public Member Functions | |
Displacement * | clone () const |
It creates a new copy of this object. More... | |
Initializer Methods | |
Methods related to instantiation and destruction. | |
Displacement () | |
It initializes a new Displacement. More... | |
~Displacement () | |
Destructor. More... | |
Accessor methods | |
Methods used to get or set properties. | |
void | setDisplacementX (ParameterValue *x) |
const ParameterValue * | getDisplacementX () const |
void | setDisplacementY (ParameterValue *y) |
const ParameterValue * | getDisplacementY () const |
Private Attributes | |
ParameterValue * | m_x |
It gives the X offset displacement. More... | |
ParameterValue * | m_y |
It gives the Y offset displacement. More... | |
A Displacement gives X and Y offset displacements to use for rendering a text label, graphic or other Symbolizer near a point.
This element may be used to avoid over-plotting of multiple graphic symbols used as part of the same point symbol. The displacements are in units of measure above and to the right of the point. The default displacement is X = 0, Y = 0.
If Displacement is used in conjunction with Size and/or Rotation then the graphic symbol shall be scaled and/or rotated before it is displaced.
Definition at line 58 of file Displacement.h.
te::se::Displacement::Displacement | ( | ) |
It initializes a new Displacement.
te::se::Displacement::~Displacement | ( | ) |
Destructor.
Displacement* te::se::Displacement::clone | ( | ) | const |
It creates a new copy of this object.
const ParameterValue* te::se::Displacement::getDisplacementX | ( | ) | const |
const ParameterValue* te::se::Displacement::getDisplacementY | ( | ) | const |
void te::se::Displacement::setDisplacementX | ( | ParameterValue * | x | ) |
void te::se::Displacement::setDisplacementY | ( | ParameterValue * | y | ) |
|
private |
It gives the X offset displacement.
Definition at line 95 of file Displacement.h.
|
private |
It gives the Y offset displacement.
Definition at line 96 of file Displacement.h.