Modifica

SKTextBlobBuilder.AllocateRawRun Method

Definition

Allocates a raw buffer for a run at the specified position.

public SkiaSharp.SKRawRunBuffer<float> AllocateRawRun(SkiaSharp.SKFont font, int count, float x, 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.

x
Single

The horizontal X position for the origin.

y
Single

The vertical Y position for the text baseline.

bounds
Nullable<SKRect>

Optional bounds for the run.

Returns

A raw run buffer for writing glyph data.

Applies to