TextViewLayerStack class
Draw order of a text view: the four built-in anchors plus whatever an extension inserted around them. The host paints an anchor’s own content when it is still present, so replacing one hands that drawing to the caller.
public sealed class TextViewLayerStackPublic Members
Section titled “Public Members”| name | description |
|---|---|
| TextViewLayerStack(…) | Creates the stack with the host’s own drawing already in it. The host passes one layer per anchor, so its background, selection, glyph and caret passes are ordinary entries rather than a callback the stack has to ask for. |
| Layers { get; } | Layers in draw order, the host’s built-in ones included. |
| event Changed | Raised when the order changed, so the host can repaint. |
| Draw(…) | Draws every layer in order. |
| Insert(…) | Inserts layer relative to anchor. |
See Also
Section titled “See Also”- namespace Aprillz.MewUI.Text