csharp
public sealed class ShapedRunOne shaped run: a stretch of one direction, one script and one font.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
⚠ The glyphs are in visual order, which for a right-to-left run means their clusters descend. Code that walks glyphs and expects clusters to increase is correct on Latin and wrong on everything else — the spike that cleared HarfBuzz recorded this as the first thing to know before writing against it.
Fields and properties (4)
public TextItem ItemWhich stretch of the source this came from.
public FontFace FontThe font it was shaped with.
public IReadOnlyList<ShapedGlyph> GlyphsThe glyphs, in visual order.
public float AdvanceThe run's total width, in design units.
Used by (5)
- CaretTestsVixen.Ui.Text.Tests
- LineWrapperVixen.Ui.Text
- ShapedTextVixen.Ui.Text
- ShapingTestsVixen.Ui.Text.Tests
- TextShaperVixen.Ui.Text