SKTextBlobBuilder.AddHorizontalRun Methode

Definition

Fügt dem Generator eine neue horizontal positionierte Ausführung hinzu.

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

Parameter

glyphs
ReadOnlySpan<UInt16>

Die Glyphen-IDs für diese Ausführung.

font
SKFont

Die schriftart, die für diese Ausführung verwendet wird.

positions
ReadOnlySpan<Single>

Die horizontalen X-Positionen für jede Glyphe.

y
Single

Die vertikale Y-Position für die Textbasislinie.

Gilt für: