Edit

Share via


Font Constructors

Definition

Overloads

Name Description
Font(Face)

Initializes a new instance of the Font class using a specific font face.

Font(Font)

Initializes a new instance of the Font class as a sub-font of the specified parent font.

Font(Face)

Initializes a new instance of the Font class using a specific font face.

public Font(HarfBuzzSharp.Face face);

Parameters

face
Face

The face to use.

Applies to

Font(Font)

Initializes a new instance of the Font class as a sub-font of the specified parent font.

public Font(HarfBuzzSharp.Font parent);

Parameters

parent
Font

The parent font to use as a basis for this font.

Remarks

The new font inherits settings from the parent that can be overridden.

Applies to