28 #ifndef __TERRALIB_LAYOUT_INTERNAL_FONT_H
29 #define __TERRALIB_LAYOUT_INTERNAL_FONT_H
179 virtual std::string
toString(
bool flag);
186 virtual bool toBool(std::string str);
bool m_bold
true if font use bold, false otherwise
bool isBold()
Returns true if font use bold, false otherwise.
bool isStrikeout()
Returns true if font use strikeout, false otherwise.
void setStrikeout(bool strikeout)
Sets font with strikeout style.
void setKerning(bool kerning)
Sets font with kerning style.
int getPointSize()
Returns point size of the font.
std::string m_family
font family name
virtual bool toBool(std::string str)
State string to boolean.
bool m_strikeout
true if font use strikeout, false otherwise
bool m_underline
true if font use underline, false otherwise
void setPointSize(int point)
Sets point size of the font.
virtual void fromString(std::string font)
Sets this object state from a string.
bool m_kerning
true if font use kerning, false otherwise
void setBold(bool bold)
Sets font with bold style.
void setFamily(std::string family)
Returns font family name.
void setUnderline(bool underline)
Sets font with underline style.
bool isItalic()
Returns true if font use italic, false otherwise.
bool isUnderline()
Returns true if font use underline, false otherwise.
virtual ~Font()
Destructor.
void setItalic(bool italic)
Sets font with italic style.
std::string getFamily()
Sets font family name.
int m_pointSize
point size of the font
virtual std::string toString()
Serialize font object.
bool m_italic
true if font use italic, false otherwise
LayoutAlign
Enum TdkAbstractComponentType. This is the enumeration of the components types.
bool isKerning()
Returns true if font use kerning, false otherwise.