OMNeT++ Simulation Library
6.0.3
|
#include <ccanvas.h>
Represents properties of a font.
Public Member Functions | |
Methods. | |
Font () | |
Font (std::string typeface, int pointSize=-1, uint8_t style=FONT_NONE) | |
Font (const Font &other)=default | |
bool | operator== (const Font &other) const |
std::string | str () const |
Public Attributes | |
Font attributes. | |
std::string | typeface |
Typeface of the font. An empty string means the default font. More... | |
int | pointSize = 0 |
Font size in points. A zero or negative value means the default size. More... | |
uint8_t | style = FONT_NONE |
Font style. Binary OR of FontStyle constants such as FONT_BOLD. More... | |
std::string typeface |
Typeface of the font. An empty string means the default font.
int pointSize = 0 |
Font size in points. A zero or negative value means the default size.
uint8_t style = FONT_NONE |
Font style. Binary OR of FontStyle constants such as FONT_BOLD.