Skip to main content

Class SKFontManager

Namespace: SkiaSharp
Assembly: VelloSharp.Skia.Core.dll

public sealed class SKFontManager : IDisposable

Inheritance

objectSKFontManager

Implements

IDisposable

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Properties

Default

public static SKFontManager Default { get; }

Property Value

SKFontManager

Methods

CreateDefault()

public static SKFontManager CreateDefault()

Returns

SKFontManager

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()

GetFontFamilies()

public string[] GetFontFamilies()

Returns

string[]

GetFontStyles(string)

public SKFontStyleSet GetFontStyles(string familyName)

Parameters

familyName string

Returns

SKFontStyleSet

MatchCharacter(string?, SKFontStyle, string[]?, int)

public SKTypeface? MatchCharacter(string? familyName, SKFontStyle fontStyle, string[]? bcp47, int codepoint)

Parameters

familyName string?

fontStyle SKFontStyle

bcp47 string[]?

codepoint int

Returns

SKTypeface?

MatchFamily(string?, SKFontStyle?)

public SKTypeface? MatchFamily(string? familyName, SKFontStyle? fontStyle = null)

Parameters

familyName string?

fontStyle SKFontStyle?

Returns

SKTypeface?