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
FontDescriptor(font_family, size, style)Initializes a new instance of the FontDescriptor class
FontDescriptor(font, style)Initializes a new instance of the FontDescriptor class

Properties

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

See Also