OMNeT++ Simulation Library  5.6.1
cFigure::Font Struct Reference

#include <ccanvas.h>

Description

Represents properties of a font.

Public Member Functions

Methods.
 Font ()
 
 Font (std::string typeface, int pointSize=-1, uint8_t style=FONT_NONE)
 
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
 Font size in points. A zero or negative value means the default size. More...
 
uint8_t style
 Font style. Binary OR of FontStyle constants such as FONT_BOLD. More...
 

Member Data Documentation

◆ typeface

std::string typeface

Typeface of the font. An empty string means the default font.

◆ pointSize

int pointSize

Font size in points. A zero or negative value means the default size.

◆ style

uint8_t style

Font style. Binary OR of FontStyle constants such as FONT_BOLD.


The documentation for this struct was generated from the following file: