AttrFontDesc

class AttrFontDesc(*args, **kwargs)
Constructors:

AttrFontDesc()

Methods

class AttrFontDesc
new(desc: FontDescription) Attribute

Create a new font description attribute.

This attribute allows setting family, style, weight, variant, stretch, and size simultaneously.

Parameters:

desc – the font description

Fields

class AttrFontDesc
attr

The common portion of the attribute

desc

The font description which is the value of this attribute