Typeface.

Typeface(string, FontStyle, FontWeight) Constructor

Summary

Initializes a new instance of the Typeface class.
Namespace
Avalonia.Media
Containing Type
Typeface

Syntax

public Typeface(string fontFamilyName, FontStyle style = Normal, FontWeight weight = Normal)

Parameters

Name Type Description
fontFamilyName string The name of the font family.
style FontStyle The font style.
weight FontWeight The font weight.

Return Value

Type Description
void