SKTextBlobBuilder.AddHorizontalRun Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.