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
Applies to
Colabore connosco no GitHub
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.