PeachDrawing.Text

PeachDrawing.Text.Unicode.Bidi

Bidi.TryGetMirror(Rune, Rune) Method

Finds the character that draws as the mirror image of rune (a parenthesis and its counterpart, for instance), for right-to-left runs.

public static bool TryGetMirror(System.Text.Rune rune, out System.Text.Rune mirrored);

Parameters

rune System.Text.Rune

The character.

mirrored System.Text.Rune

The mirror image, when there is one.

Returns

System.Boolean
false when the character has no Bidi_Mirroring_Glyph.