Class SkiaFontDefaults
Provides default values for SkiaSharp font properties used when converting a native font to an SKFont.
public static class SkiaFontDefaults
- Inheritance
-
SkiaFontDefaults
Remarks
This class defines static fields that represent default settings for various SKFont properties, such as scaling, subpixel precision, hinting, and edging. These defaults are applied during the conversion process from a native font to an SKFont to ensure consistent rendering behavior.
Fields
- ForceAutoHinting
Gets or sets default value for ForceAutoHinting which is used when font is converted to SKFont.
- TextScaleX
Gets or sets default value for ScaleX which is used when font is converted to SKFont.
Methods
- AssignDefaults(SKFont)
Assigns default settings to the specified SKFont instance.