共用方式為


Font(String, Int32, FontStyleType) Constructor

Definition

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

Parameters

name
String
weight
Int32
styleType
FontStyleType

Applies to