Edit

Share via


SKPositionedTextRunBuffer Class

Definition

A buffer for fully-positioned text runs with cluster and text data.

public sealed class SKPositionedTextRunBuffer : SkiaSharp.SKTextRunBuffer
Inheritance
SKPositionedTextRunBuffer

Properties

Name Description
Clusters

Gets the span of cluster indices that map glyphs to their source text positions.

(Inherited from SKTextRunBuffer)
Glyphs

Gets the span of glyph IDs for the run.

(Inherited from SKRunBuffer)
Positions

Gets the span of positions for each glyph.

Size

Gets the number of glyphs in the run.

(Inherited from SKRunBuffer)
Text

Gets the span of UTF-8 encoded source text bytes for the run.

(Inherited from SKTextRunBuffer)
TextSize

Gets the size of the text buffer in bytes.

(Inherited from SKTextRunBuffer)

Methods

Name Description
GetGlyphSpan()
Obsolete.

Gets the span of glyph IDs for the run.

(Inherited from SKRunBuffer)
SetClusters(ReadOnlySpan<UInt32>)

Sets the cluster indices that map glyphs to their source text positions.

(Inherited from SKTextRunBuffer)
SetGlyphs(ReadOnlySpan<UInt16>)

Sets the glyph IDs for the run.

(Inherited from SKRunBuffer)
SetPositions(ReadOnlySpan<SKPoint>)

Sets the positions for each glyph in the run.

SetText(ReadOnlySpan<Byte>)

Sets the source text bytes for the run.

(Inherited from SKTextRunBuffer)

Applies to