Partager via


FontSource(String, Int32, FontStyleType) Constructor

Definition

public FontSource (string filename, int weight = 400, Microsoft.Maui.Graphics.FontStyleType fontStyleType = Microsoft.Maui.Graphics.FontStyleType.Normal);
new Microsoft.Maui.Graphics.FontSource : string * int * Microsoft.Maui.Graphics.FontStyleType -> Microsoft.Maui.Graphics.FontSource
Public Sub New (filename As String, Optional weight As Integer = 400, Optional fontStyleType As FontStyleType = Microsoft.Maui.Graphics.FontStyleType.Normal)

Parameters

filename
String
weight
Int32
fontStyleType
FontStyleType

Applies to