Edit

SKTextBlobBuilder.AllocateHorizontalRun Method

Definition

Allocates a buffer for a horizontally-positioned run.

public SkiaSharp.SKHorizontalRunBuffer AllocateHorizontalRun(SkiaSharp.SKFont font, int count, float y, SkiaSharp.SKRect? bounds = default);

Parameters

font
SKFont

The font used for this run.

count
Int32

The number of glyphs to allocate in the buffer.

y
Single

The vertical Y position for the text baseline.

bounds
Nullable<SKRect>

Optional bounds for the run.

Returns

A run buffer for writing glyph and position data.

Applies to