3 references to OfSize
Microsoft.Maui.Controls (2)
FontExtensions.cs (1)
35 return Font.OfSize(element.FontFamily, size, enableScaling: element.FontAutoScalingEnabled).WithAttributes(element.FontAttributes);
Image\ImageSource.cs (1)
27 Font IFontImageSource.Font => Font.OfSize(FontFamily, Size, enableScaling: FontAutoScalingEnabled);
Microsoft.Maui.Controls.Compatibility (1)
iOS\Renderers\ImageRenderer.cs (1)
253 var font = Font.OfSize(fontsource.FontFamily, fontsource.Size).ToUIFont(imagesource.RequireFontManager());