FontSource(String, Int32, FontStyleType) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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