-
int size() const
Returns the size of the font in points.
-
void setSize(int size)
Sets the size of the font in points.
-
bool italic() const
Returns whether the font is italic.
-
void setItalic(bool italic = true)
Turns on/off the italic font.
-
bool strikeOut() const
Returns whether the font is strikeout.
-
void setStrikeOut(bool strikeOut = true)
Turns on/off the strikeout font.
-
Color color() const
Returns the
color of the font.
-
void setColor(Color color)
Sets the
color of the font.
-
bool bold() const
Returns whether the font is bold.
-
void setBold(bool bold = true)
Turns on/off the bold font.
-
Script script() const
Returns the script style of the font.
-
void setScript(Script script)
Sets the script style of the font.
Script value | View |
SCRIPT_NORMAL | TEXT SCRIPT_NORMAL |
SCRIPT_SUPER | TEXTSCRIPT_SUPER |
SCRIPT_SUB | TEXTSCRIPT_SUB |
-
Underline underline() const
Returns the underline style of the font.
-
void setUnderline(Underline underline)
-
const wchar_t* name() const
Returns the name of the font.
-
bool setName(const wchar_t* name)
Sets the name of the font. Default name is "Arial".