Edit

SKTextBlobBuilder.AddHorizontalRun Method

Definition

Adds a new horizontally-positioned run to the builder.

public void AddHorizontalRun(ReadOnlySpan<ushort> glyphs, SkiaSharp.SKFont font, ReadOnlySpan<float> positions, float y);

Parameters

glyphs
ReadOnlySpan<UInt16>

The glyph IDs for this run.

font
SKFont

The font used for this run.

positions
ReadOnlySpan<Single>

The horizontal X positions for each glyph.

y
Single

The vertical Y position for the text baseline.

Applies to