TextSelectionPresentation.TryCreateSpan method
The span covering the part of the selection that falls on this line, in the line’s own coordinates. False when none of it does.
public static bool TryCreateSpan(TextLineLayout line, TextRange documentSelection, Color foreground, Color background, out TextPaintSpan span)See Also
Section titled “See Also”- class TextLineLayout
- struct TextRange
- struct Color
- struct TextPaintSpan
- class TextSelectionPresentation
- namespace Aprillz.MewUI.Text