Struct SkiaFontInfo
Represents font information used to create SKFont. Contains weight, slant, width, family name and size.
public struct SkiaFontInfo
Constructors
- SkiaFontInfo()
Initializes a new instance of the SkiaFontInfo struct. This parameterless constructor preserves explicit default initialization semantics.
Fields
- Name
Gets or sets the font family name (for example: "Segoe UI", "Arial").
- SizeInDips
Gets or sets the font size.
- Slant
Gets or sets the font slant (upright, italic, or oblique).
- Weight
Gets or sets the font weight (for example: Thin, Normal, Bold).
Methods
- CreateFont()
Creates a new SKFont instance using the specified font properties.