FontDescriptor

FontDescriptor class

Represents font information.

The FontDescriptor type exposes the following members:

Constructors

NameDescription
FontDescriptor(font_family, size)Initializes a new instance of the FontDescriptor class with the specified font family and size.
FontDescriptor(font_family, size, style)Initializes a new instance of the FontDescriptor class with the specified font family, size and style.
FontDescriptor(font, style)Initializes a new instance of the FontDescriptor class with the specified font family, size and style.

Properties

NameDescription
font_familyGets the name of the font’s family.
sizeGets size of the font.
styleGets style of the font.

See Also