CssRectWord
TheArtOfDev.HtmlRenderer.Core.Dom
Represents a word inside an inline box
Inherits: CssRect
Constructors
CssRectWord(CssBox, string, bool, bool)
Init.
- owner
- the CSS box owner of the word
- text
- the word chars
- hasSpaceBefore
- was there a whitespace before the word chars (before trim)
- hasSpaceAfter
- was there a whitespace after the word chars (before trim)
Properties
HasSpaceAfter : bool
was there a whitespace after the word chars (before trim)
HasSpaceBefore : bool
was there a whitespace before the word chars (before trim)
IsLineBreak : bool
Gets if the word is composed by only a line break
Methods
Fields
_hasSpaceAfter : bool
was there a whitespace after the word chars (before trim)
_hasSpaceBefore : bool
was there a whitespace before the word chars (before trim)