class documentation

class FontSize(font.FontSize):

View In Hierarchy

FontSize class representing a font size variant.

Method __setattr__ Set a font size attribute, routing size to the setter.
Instance Variable - height int - The height of the font size.
Instance Variable - size int - The size identifier for the font size (e.g., FONT_XTRA_SMALL, FONT_SMALL, etc.).
Instance Variable - spacing int - The spacing of the font size.
Instance Variable - width int - The width of the font size.
def __setattr__(self, name, value):

Set a font size attribute, routing size to the setter.

Parameters
name:strAttribute name to set.
value:objectNew value for the attribute.
- height =

int - The height of the font size.

- size =

int - The size identifier for the font size (e.g., FONT_XTRA_SMALL, FONT_SMALL, etc.).

- spacing =

int - The spacing of the font size.

- width =

int - The width of the font size.