Class FontFactory
Provides access to the font factory.
public static class FontFactory
- Inheritance
-
FontFactory
Properties
- Handler
Gets or sets handler which is used to perform font related operations.
- OnlySkiaFonts
Gets whether only SkiaSharp compatible font are allowed.
Methods
- GetFixedPitchFont(IEnumerable<string>)
Gets first fixed pitch font in the collection of the fonts.
- GetFixedPitchFonts()
Gets collection of the fixed pitch fonts which supposed to be supported by the current operating system.
- GetSampleFixedPitchFont()
Gets sample fixed pitch font for the current operating system.
- GetSampleNameAndSize(GenericFontFamily)
Gets sample FontNameAndSize for the specified GenericFontFamily for the current operating system.
- GetSampleNameAndSize(SystemSettingsFont)
Gets sample FontNameAndSize for the specified SystemSettingsFont for the current operating system.