Class SkiaFontSettings
Represents configurable font settings that control text rendering behavior.
public class SkiaFontSettings : BaseObjectWithNotify, IBaseObjectWithAttr, IBaseObjectWithId, IBaseObject, INotifyPropertyChanged
- Inheritance
-
SkiaFontSettings
- Implements
Remarks
This class provides properties to adjust font rendering parameters such as scaling, subpixel rendering, hinting, edging and other. These settings are applied globally to the default font rendering configuration. Some of the settings will affect only on newly created fonts, for the existing fonts, they will not have any effect until they are recreated.
Properties
- 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
- OnPropertyChanged(string?)
Called when object property is changed.
- ShowFontSettingsDialog(Action?)
Shows the font settings dialog with adjustable options which allows to customize text rendering.
Events
- SettingsChanged
Occurs when any of the SkiaFontSettings instances is changed.