26 #ifndef __TERRALIB_ANNOTATIONTEXT_INTERNAL_ATTRIBUTES_H
27 #define __TERRALIB_ANNOTATIONTEXT_INTERNAL_ATTRIBUTES_H
30 #include "../common/STLUtils.h"
69 const double pointSize = 10.0,
96 void setFamily(
const std::string& family);
102 const std::string& getFamily()
const;
108 void setPointSize(
const double& ps);
114 const double& getPointSize()
const;
156 void setLetterSpacing(
const double& spacing);
162 const double& getLetterSpacing()
const;
168 void setWordSpacing(
const double& spacing);
174 const double& getWordSpacing()
const;
180 void setTextColor(
const std::string& color);
186 const std::string& getTextColor()
const;
192 void setTextOpacity(
double& opacity);
198 const double& getTextOpacity()
const;
204 void setTextStrokecolor(
const std::string& color);
210 const std::string& getTextStrokeColor()
const;
216 void setTextStrokeWidth(
const double& width);
222 const double& getTextStrokeWidth()
const;
228 void setTextStrokeOpacity(
const double& opacity);
234 const double& getTextStrokeOpacity()
const;
276 void setLineSpacing(
const double& spacing);
282 const double& getLineSpacing()
const;
307 #endif // __TERRALIB_ANNOTATIONTEXT_INTERNAL_ATTRIBUTES_H
TextDecoration
Text decoration for drawing text.
std::string m_strokeColor
text stroke color
FontWeight
Font weight for drawing text.
Configuration flags for the TerraLib Annotation Text module.
FontWeight m_weight
font weight
#define TEANNOTATIONTEXTEXPORT
You can use this macro in order to export/import classes and functions from this module.
std::string m_family
font family
double m_strokeWidth
text stroke width (0..1)
HorizontalAlignment
Horizontal alignment for drawing text.
Several enumerations related to Annotation Text.
std::string m_fillColor
text fill color
FontStyle m_style
font style
double m_multiLineSpacing
multi line spacing
double m_fillOpacity
text fill color opacity (0..1)
HorizontalAlignment m_hAlign
horizontal text alignment
LineJustification
Line justification for drawing multi line text.
double m_pointSize
font point size
VerticalAlignment m_vAlign
vertical text alignment
TextDecoration m_decoration
text decoration
double m_letterSpacing
letter spacing (0..1)
FontStyle
Font style for drawing text.
double m_wordSpacing
word spacing (0..1)
double m_strokeOpacity
text stroke color opacity (0..1)
VerticalAlignment
Vertical alignment for drawing text.
LineJustification m_multiLineJustification
multi line justufucation