SKFontManager Class

Definition

Manages a collection of fonts.

public class SKFontManager : SkiaSharp.SKObject
Inheritance

Properties

Default

Gets the default font manager.

FontFamilies

Gets all the font family names loaded by this font manager.

FontFamilyCount

Gets the number of font families available.

Handle

Gets or sets the handle to the underlying native object.

(Inherited from SKObject)
IgnorePublicDispose

Gets or sets a value indicating whether the call the public Dispose() should be no-op.

(Inherited from SKNativeObject)
IsDisposed

Gets or sets a value indicating whether the object has already been disposed.

(Inherited from SKNativeObject)
OwnsHandle

Gets a value indicating whether this object should destroy the underlying native object.

(Inherited from SKObject)

Methods

CreateDefault()

Creates a new, default font manager.

CreateTypeface(SKData, Int32)

Creates a new SKTypeface from the specified SKData.

CreateTypeface(SKStreamAsset, Int32)

Creates a new SKTypeface from the specified stream.

CreateTypeface(Stream, Int32)

Creates a new SKTypeface from the specified stream.

CreateTypeface(String, Int32)

Creates a new SKTypeface from the specified file path.

Dispose()

Releases all resources used by this SKNativeObject.

(Inherited from SKNativeObject)
Dispose(Boolean)

Releases the unmanaged resources used by the SKFontManager and optionally releases the managed resources.

DisposeInternal()

Triggers a dispose, ignoring the value of IgnorePublicDispose.

(Inherited from SKNativeObject)
DisposeManaged()

Implemented by derived SKObject types to destroy any managed objects.

(Inherited from SKObject)
DisposeNative()

Implemented by derived SKObject types to destroy any native objects.

(Inherited from SKObject)
DisposeUnownedManaged() (Inherited from SKObject)
GetFamilyName(Int32)

Returns the font family name for the specified index.

GetFontFamilies()

Returns all the font family names loaded by this font manager.

GetFontStyles(Int32)

Returns the font style set for the specified index.

GetFontStyles(String)

Use the system fallback to find the typeface styles for the given family.

MatchCharacter(Char)

Use the system fallback to find a typeface for the given character.

MatchCharacter(Int32)

Use the system fallback to find a typeface for the given character.

MatchCharacter(String, Char)

Use the system fallback to find a typeface for the given character.

MatchCharacter(String, Int32, Int32, SKFontStyleSlant, String[], Int32)

Use the system fallback to find a typeface for the given character.

MatchCharacter(String, Int32)

Use the system fallback to find a typeface for the given character.

MatchCharacter(String, SKFontStyle, String[], Int32)

Use the system fallback to find a typeface for the given character.

MatchCharacter(String, SKFontStyleWeight, SKFontStyleWidth, SKFontStyleSlant, String[], Char)

Use the system fallback to find a typeface for the given character.

MatchCharacter(String, SKFontStyleWeight, SKFontStyleWidth, SKFontStyleSlant, String[], Int32)

Use the system fallback to find a typeface for the given character.

MatchCharacter(String, String[], Char)

Use the system fallback to find a typeface for the given character.

MatchCharacter(String, String[], Int32)

Use the system fallback to find a typeface for the given character.

MatchFamily(String, SKFontStyle)

Find the closest matching typeface to the specified family name and style.

MatchFamily(String)
MatchTypeface(SKTypeface, SKFontStyle)

Find the closest matching typeface to the specified typeface and style.

Applies to