SKTextBlobBuilder.AllocateRawTextRun 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.
Allocates a buffer for a rotation-scale run.
public SkiaSharp.SKRawRunBuffer<float> AllocateRawTextRun(SkiaSharp.SKFont font, int count, float x, float y, 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.
- x
- Single
The horizontal X position for the origin.
- y
- Single
The vertical Y position for the text baseline.
- textByteCount
- Int32
The number of bytes to allocate for text storage.
Returns
A run buffer for writing glyph and rotation-scale matrix data.