Class SKTypeface
Namespace: SkiaSharp
Assembly: VelloSharp.Skia.Core.dll
public sealed class SKTypeface : 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 SKTypeface Default { get; }
Property Value
FamilyName
public string FamilyName { get; }
Property Value
FontStyle
public SKFontStyle FontStyle { get; }
Property Value
GlyphCount
public int GlyphCount { get; }
Property Value
IsBold
public bool IsBold { get; }
Property Value
IsFixedPitch
public bool IsFixedPitch { get; }
Property Value
IsItalic
public bool IsItalic { get; }
Property Value
UnitsPerEm
public int UnitsPerEm { get; }
Property Value
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
FromStream(Stream)
public static SKTypeface FromStream(Stream stream)
Parameters
stream Stream
Returns
GetTableSize(uint)
public int GetTableSize(uint tag)
Parameters
tag uint
Returns
OpenStream()
public SKStreamAsset OpenStream()
Returns
TryGetTableData(uint, int, int, nint)
public bool TryGetTableData(uint tag, int offset, int length, nint destination)
Parameters
tag uint
offset int
length int
destination nint
Returns
TryGetTableData(uint, out byte[])
public bool TryGetTableData(uint tag, out byte[] table)
Parameters
tag uint
table byte[]