Modifica

SKTextBlobBuilder.AllocateRawPositionedTextRun Method

Definition

Allocates a raw buffer for a positioned run with text storage.

public SkiaSharp.SKRawRunBuffer<SkiaSharp.SKPoint> AllocateRawPositionedTextRun(SkiaSharp.SKFont font, int count, int textByteCount, SkiaSharp.SKRect? bounds = default);

Parameters

font
SKFont

The font used for this run.

count
Int32

The number of glyphs to allocate in the buffer.

textByteCount
Int32

The number of bytes to allocate for text storage.

bounds
Nullable<SKRect>

Optional bounds for the run.

Returns

A raw run buffer for writing glyph and position data.

Applies to