Table of Contents

Method CreateFont

Namespace
Alternet.Skia
Assembly
Alternet.UI.Common.dll

CreateFont()

Creates a new SKFont instance using the specified font properties.

public readonly SKFont CreateFont()

Returns

SKFont

A new SKFont instance configured with the specified typeface, size, and default settings.

Remarks

If the Name property is null or empty, the default typeface is used. The created font is initialized with the specified size and applies default settings as defined by AssignDefaults(SKFont).