FontData class

FontData class

Represents a font definition. Immutable.

The FontData type exposes the following members:

Constructors

ConstructorDescription
__init__(self, font_name)Creates a new FontData object with the specified font name.

Properties

PropertyDescription
font_nameReturns the font name.
Read/write str.

Methods

MethodDescription
get_font_name(self, theme)Returns the font name, replacing theme referrence with an actual font used.

See Also