8 references to FontWeights
Microsoft.Maui.Graphics (7)
Font.cs (2)
34 => new Font(null, FontWeights.Bold); 36 public Font(string name, int weight = FontWeights.Normal, FontStyleType styleType = FontStyleType.Normal)
FontSource.cs (1)
9 public FontSource(string filename, int weight = FontWeights.Normal, FontStyleType fontStyleType = FontStyleType.Normal)
IFontExtensions.cs (3)
10 if (font.Weight == FontWeights.Normal) 13 if (font.Weight == FontWeights.Regular) 16 if (font.Weight == FontWeights.Bold)
IPlatformFonts.cs (1)
18 object Get(string alias, int weight = FontWeights.Normal, FontStyleType fontStyleType = FontStyleType.Normal);
Microsoft.Maui.Graphics.Win2D.WinUI.Desktop (1)
src\Graphics\src\Graphics\Platforms\Windows\FontExtensions.cs (1)
31 FontWeight = new FontWeight { Weight = (ushort)(font?.Weight ?? FontWeights.Regular) },