PeachDrawing.Text
PeachDrawing.Text.Unicode.EmbeddingSpan
EmbeddingSpan(int, int, ExplicitPush) Constructor
A directional push that applies to a stretch of the analysed text without any control character being
present in it: how a host with its own markup (CSS unicode-bidi, an SVG direction
attribute) tells Analyze(string, BaseDirection, IReadOnlyList<EmbeddingSpan>) about embeddings the string itself does not spell out.
public EmbeddingSpan(int Start, int Length, PeachDrawing.Text.Unicode.ExplicitPush Push);
Parameters
Start System.Int32
Index, in UTF-16 code units, of the first character the push covers.
Length System.Int32
How many code units the push covers.
Push ExplicitPush
Which push opens the span.
Remarks
The analysis treats a span exactly as though a real Push control character opened at Start and its matching terminator closed at End. Spans and real control characters may be mixed in one text. Of two spans that share a start, the one that comes earlier in the list is the outer one.