2 instantiations of Font
Microsoft.Maui.Graphics (2)
Font.cs (2)
31
=> new
Font
(null);
34
=> new
Font
(null, FontWeights.Bold);
8 references to Font
Microsoft.Maui.Graphics (6)
Font.cs (6)
30
public static
Font
Default
33
public static
Font
DefaultBold
62
public static bool operator ==(
Font
left,
Font
right) => left.Equals(right);
64
public static bool operator !=(
Font
left,
Font
right) => !(left == right);
Microsoft.Maui.Graphics.Win2D.WinUI.Desktop (2)
src\Graphics\src\Graphics\Platforms\Windows\PlatformCanvas.cs (2)
258
var textFormat = (CurrentState.Font ?? Graphics.
Font
.Default).ToCanvasTextFormat(CurrentState.FontSize);
316
var textFormat = (CurrentState.Font ?? Graphics.
Font
.Default).ToCanvasTextFormat(CurrentState.FontSize);