Typeface.

Typeface(FontFamily, FontStyle, FontWeight) Constructor

Summary

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

Syntax

public Typeface(FontFamily fontFamily, FontStyle style = Normal, FontWeight weight = Normal)

Parameters

Name Type Description
fontFamily FontFamily The font family.
style FontStyle The font style.
weight FontWeight The font weight.

Return Value

Type Description
void