CssRectWord
TheArtOfDev.HtmlRenderer.Core.Dom
Represents a word inside an inline box
继承自: CssRect
构造函数
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)
属性
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
方法
字段
_hasSpaceAfter : bool
was there a whitespace after the word chars (before trim)
_hasSpaceBefore : bool
was there a whitespace before the word chars (before trim)