1 implementation of Weight
Microsoft.Maui.Graphics (1)
Font.cs (1)
44
public int
Weight
{ get; private set; }
8 references to Weight
Microsoft.Maui.Graphics (5)
Font.cs (1)
50
Weight == other.
Weight
&&
IFontExtensions.cs (4)
10
if (font.
Weight
== FontWeights.Normal)
13
if (font.
Weight
== FontWeights.Regular)
16
if (font.
Weight
== FontWeights.Bold)
19
return font.
Weight
.ToInvariantString();
Microsoft.Maui.Graphics.Skia (1)
FontExtensions.cs (1)
17
return SKTypeface.FromFamilyName(font.Name, font.
Weight
, (int)SKFontStyleWidth.Normal,
Microsoft.Maui.Graphics.Win2D.WinUI.Desktop (2)
src\Graphics\src\Graphics\Platforms\Windows\FontExtensions.cs (1)
31
FontWeight = new FontWeight { Weight = (ushort)(font?.
Weight
?? FontWeights.Regular) },
src\Graphics\src\Graphics\Platforms\Windows\PlatformStringSizeService.cs (1)
31
FontWeight = new FontWeight { Weight = (ushort)font.
Weight
},