Represents a line of text (including any tags) within the
mOwner As WeakRef
A weak reference to the owning tag canvas.
Number As Integer
This line's 1-based number.
Owner As XUITagCanvas
The owning tag canvas.
Tags() As XUITag
The tags on this line. Should be considered read only.
UnparsedText As String
Contiguous text on this line that has not yet been parsed into a tag.
Append(s As String)
s to the end of this line.
Constructor(owner As XUITagCanvas, lineNumber As Integer)
XUITagCanvasthat owns this line. A new
WeakRefto the canvas will be created.
lineNumberis the 1-based line number of this new line.
ContentsWidth(g As Graphics) As Double
Returns the width from the left edge of this line to the end of the line's contents.
g is the context the line would be drawn to if it were being drawn.
Draw(g As Graphics, x As Double, topLeftY As Double, lineH As Double)
Draws this line to
xis the X coord of the top left corner of the line.
topLeftYis the Y coord of the top left corner of the line.
lineHis the height of the line.