CssLineBox
TheArtOfDev.HtmlRenderer.Core.Dom
Represents a line of text.
Конструкторы
CssLineBox(CssBox)
Creates a new LineBox
Свойства
LineBottom : double
Get the bottom of this box line (the max bottom of all the words)
LineHeight : double
Get the height of this box line (the max height of all the words)
Rectangles : Dictionary<CssBox, RRect>
Gets a List of rectangles that are to be painted on this linebox
RelatedBoxes : List<CssBox>
Gets a list of boxes related with the linebox. To know the words of the box inside this linebox, use the CssBox) method.
Методы
AssignRectanglesToBoxes()
Copies the rectangles to their specified box
IsLastSelectedWord(CssRect) : bool
Check if the given word is the last selected word in the line. It can either be the last word in the line or the next word has no selection.
- word
- the word to check
ReportExistanceOf(CssRect)
Lets the linebox add the word an its box to their lists if necessary.
- word
SetBaseLine(RGraphics, CssBox, double)
Sets the baseline of the words of the specified box to certain height
- g
- Device info
- b
- box to check words
- baseline
- baseline