IFont Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines a font with name, weight, and style properties for text rendering.
public interface class IFont
public interface IFont
type IFont = interface
Public Interface IFont
- Derived
Properties
Name |
Gets the name of the font family or font file. |
StyleType |
Gets the style type of the font (e.g., normal, italic). |
Weight |
Gets the weight of the font (boldness level). |
Extension Methods
GetSvgStyle(IFont) |
Gets the SVG-compatible style value for the font. |
GetSvgWeight(IFont) |
Gets the SVG-compatible weight value for the font. |
ToSKTypeface(IFont) |
Converts a .NET MAUI Graphics font to a SkiaSharp typeface. |