Upravit

Sdílet prostřednictvím


SKFont Class

Definition

public class SKFont : SkiaSharp.SKObject
Inheritance

Constructors

SKFont()
SKFont(SKTypeface, Single, Single, Single)

Properties

BaselineSnap
Edging
EmbeddedBitmaps
Embolden
ForceAutoHinting
Handle

Gets or sets the handle to the underlying native object.

(Inherited from SKObject)
Hinting
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)
LinearMetrics
Metrics
OwnsHandle

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

(Inherited from SKObject)
ScaleX
Size
SkewX
Spacing
Subpixel
Typeface

Methods

ContainsGlyph(Int32)
ContainsGlyphs(IntPtr, Int32, SKTextEncoding)
ContainsGlyphs(ReadOnlySpan<Byte>, SKTextEncoding)
ContainsGlyphs(ReadOnlySpan<Char>)
ContainsGlyphs(ReadOnlySpan<Int32>)
ContainsGlyphs(String)
CountGlyphs(IntPtr, Int32, SKTextEncoding)
CountGlyphs(ReadOnlySpan<Byte>, SKTextEncoding)
CountGlyphs(ReadOnlySpan<Char>)
CountGlyphs(String)
Dispose()

Releases all resources used by this SKNativeObject.

(Inherited from SKNativeObject)
Dispose(Boolean)

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

(Inherited from SKObject)
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()
DisposeUnownedManaged() (Inherited from SKObject)
GetFontMetrics(SKFontMetrics)
GetGlyph(Int32)
GetGlyphOffsets(ReadOnlySpan<UInt16>, Span<Single>, Single)
GetGlyphPath(UInt16)
GetGlyphPaths(ReadOnlySpan<UInt16>, SKGlyphPathDelegate)
GetGlyphPositions(ReadOnlySpan<UInt16>, Span<SKPoint>, SKPoint)
GetGlyphs(IntPtr, Int32, SKTextEncoding, Span<UInt16>)
GetGlyphs(ReadOnlySpan<Byte>, SKTextEncoding, Span<UInt16>)
GetGlyphs(ReadOnlySpan<Char>, Span<UInt16>)
GetGlyphs(ReadOnlySpan<Int32>, Span<UInt16>)
GetGlyphs(String, Span<UInt16>)
GetGlyphWidths(ReadOnlySpan<UInt16>, Span<Single>, Span<SKRect>, SKPaint)
MeasureText(ReadOnlySpan<UInt16>, SKPaint)
MeasureText(ReadOnlySpan<UInt16>, SKRect, SKPaint)

Applies to