![]() |
TerraLib 4.1
|
TeText : A class for handling text. More...
#include <TeGeometry.h>
Public Member Functions | |
| TeText (const string &txt="") | |
| Default contructor. | |
| TeText (TeCoord2D &location, const string &txt="") | |
| Constructor. | |
| TeText (const TeText &other) | |
| Copy constructor. | |
| TeText & | operator= (const TeText &other) |
| Operator =. | |
| bool | operator== (const TeText &tx) const |
| Returns TRUE if a text is equal to other. | |
| void | setLocation (const TeCoord2D &l) |
| Sets anew value for the location of the text. | |
| string | textValue () const |
| Returns the string value of a text. | |
| void | setTextValue (const string &text) |
| Sets the string value of a text. | |
| double | angle () const |
| Returns the text inclination. | |
| void | setAngle (double angle) |
| Sets the text inclination. | |
| double | height () const |
| Returns the text height. | |
| void | setHeight (double height) |
| Sets the text height. | |
| double | alignmentVert () const |
| Returns the text vertical alignment. | |
| void | setAlignmentVert (double alig) |
| Sets the text vertical alignment. | |
| double | alignmentHoriz () const |
| Returns the text horizontal alignment. | |
| void | setAlignmentHoriz (double alig) |
| Sets the text horizontal alignment. | |
| TeGeomRep | elemType () const |
| Returns the basic geometry in a set of geometries structure. | |
TeText : A class for handling text.
| TeText::TeText | ( | const string & | txt = "" | ) | [inline] |
Default contructor.
| txt | the string of character that form the text (default is an empty string) |
Constructor.
| location | basic position of the text |
| txt | the string of character that form the text (default is an empty string) |
| TeText::TeText | ( | const TeText & | other | ) | [inline] |
Copy constructor.
| double TeText::alignmentHoriz | ( | ) | const [inline] |
Returns the text horizontal alignment.
| double TeText::alignmentVert | ( | ) | const [inline] |
Returns the text vertical alignment.
| double TeText::angle | ( | ) | const [inline] |
Returns the text inclination.
| TeGeomRep TeText::elemType | ( | ) | const [inline, virtual] |
Returns the basic geometry in a set of geometries structure.
Reimplemented from TeGeometry.
| double TeText::height | ( | ) | const [inline] |
Returns the text height.
| bool TeText::operator== | ( | const TeText & | tx | ) | const [inline] |
Returns TRUE if a text is equal to other.
| void TeText::setAlignmentHoriz | ( | double | alig | ) | [inline] |
Sets the text horizontal alignment.
| void TeText::setAlignmentVert | ( | double | alig | ) | [inline] |
Sets the text vertical alignment.
| void TeText::setAngle | ( | double | angle | ) | [inline] |
Sets the text inclination.
| void TeText::setHeight | ( | double | height | ) | [inline] |
Sets the text height.
| void TeText::setLocation | ( | const TeCoord2D & | l | ) | [inline] |
Sets anew value for the location of the text.
| void TeText::setTextValue | ( | const string & | text | ) | [inline] |
Sets the string value of a text.
| string TeText::textValue | ( | ) | const [inline] |
Returns the string value of a text.