Method AsSpan
AsSpan()
Returns a span over the glyphs currently in the buffer. The span is invalidated by any subsequent Add(in ShapedGlyph) or EnsureCapacity(int) call.
public Span<ShapedGlyph> AsSpan()
Returns
- Span<ShapedGlyph>
A span over the buffered glyphs.