TextViewLayout class
public sealed class TextViewLayout : ITextViewLayoutPublic Members
Section titled “Public Members”| name | description |
|---|---|
| TextViewLayout(…) | |
| DefaultBaseline { get; } | Baseline of a line holding one character in the default style. |
| DefaultLineHeight { get; } | Height of a line holding one character in the default style, independent of content. |
| ExtentHeight { get; } | |
| ExtentWidth { get; } | |
| MaterializedLines { get; } | |
| Viewport { get; } | |
| event LineConstructionStarting | Raised before the visible lines are built, carrying the first line number. |
| event LinesChanged | Raised after the visible lines were built. |
| Dispose() | |
| FindLineByY(…) | Line number whose row contains documentY. |
| GetCaretBounds(…) | |
| GetLineExtent(…) | The laid-out line holding the offset, laying it out when it is outside the viewport. A line long enough to be cut into slices answers with the slice the offset falls in; an offset inside a collapsed range answers with the line that stands in for it. Null when the document has no lines. |
| GetLineLayout(…) | |
| GetLineY(…) | Document-space top of lineNumber. |
| HitTest(…) | |
| Invalidate(…) | |
| InvalidateRange(…) | Drops the cached layout of the lines overlapping the range. Unlike Invalidate the text is unchanged, so lines outside the range keep their layout. |
| SetViewport(…) |
See Also
Section titled “See Also”- interface ITextViewLayout
- namespace Aprillz.MewUI.Text