Vixen
02b45cc4
csharp
public readonly record struct TextItem

One 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 Start

    Where it starts in the source text, as a UTF-16 index.

  • public int Length

    How many UTF-16 units it covers.

  • public int Level

    Its bidi embedding level. Even runs left to right, odd runs right to left.

  • public Script Script

    Its script.

  • public bool IsRightToLeft

    Whether 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