RichTextKit v0.1

TextLine Class

Assembly: Topten.RichTextKit.dll
Namespace: Topten.RichTextKit

Represents a laid out line of text.

public class TextLine

Inheritance

TextLine → object

Constructors

TextLine()

Constructs a new TextLine.

Properties

BaseLine

Gets the base line of this line (relative to YCoord)

Height

Gets the height of this line

MaxAscent

Gets the maximum magnitude ascent of all font runs in this line.

MaxDescent

Gets the maximum descent of all font runs in this line.

NextLine

Gets the next line in this text block, or null if this is the last line.

PreviousLine

Gets the previous line in this text block, or null if this is the first line.

Runs

Gets the set of text runs comprising this line.

TextBlock

Gets the text block that owns this line.

TextHeight

Gets the text height of this line.

Width

The width of the content on this line, excluding trailing whitespace and overhang.

YCoord

Gets the y-coordinate of the top of this line, relative to the top of the text block.