Font(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 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