Class SKFontManager
Namespace: SkiaSharp
Assembly: VelloSharp.Skia.Core.dll
public sealed class SKFontManager : IDisposable
Inheritance
Implements
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
Methods
CreateDefault()
public static SKFontManager CreateDefault()
Returns
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
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
MatchFamily(string?, SKFontStyle?)
public SKTypeface? MatchFamily(string? familyName, SKFontStyle? fontStyle = null)
Parameters
familyName
string?
fontStyle
SKFontStyle?