PeachDrawing.Text
PeachDrawing.Text.Unicode
BidiRun Struct
A maximal run of consecutive characters that share one resolved bidi embedding level.
public readonly record struct BidiRun : System.IEquatable<PeachDrawing.Text.Unicode.BidiRun>
Implements System.IEquatable<BidiRun>
| Constructors | |
|---|---|
| BidiRun(int, int, byte) | A maximal run of consecutive characters that share one resolved bidi embedding level. |
| Properties | |
|---|---|
| IsRtl | Whether the run reads right to left, which is to say its level is odd. |
| Length | Number of elements in the run. |
| Level | The embedding level shared by every element of the run; odd levels are right-to-left. |
| Start | Index of the run’s first element in the sequence the levels describe. |