csharp
public readonly record struct TextItemOne stretch of text that can be handed to a shaper as a unit.
No guide page documents this yet — the page shows what the code says about itself.
Fields and properties (5)
public int StartWhere it starts in the source text, as a UTF-16 index.
public int LengthHow many UTF-16 units it covers.
public int LevelIts bidi embedding level. Even runs left to right, odd runs right to left.
public Script ScriptIts script.
public bool IsRightToLeftWhether the run runs right to left.
Methods (1)
public TextItem(int Start, int Length, int Level, Script Script)One stretch of text that can be handed to a shaper as a unit.
Used by (6)
- CaretTestsVixen.Ui.Text.Tests
- ShapedRunVixen.Ui.Text
- ShapedTextVixen.Ui.Text
- ShapingTestsVixen.Ui.Text.Tests
- TextItemizerVixen.Ui.Text
- TextShaperVixen.Ui.Text