CssRectWord

TheArtOfDev.HtmlRenderer.Core.Dom

Represents a word inside an inline box

Herda de: CssRect

Construtores

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)

Propriedades

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

IsSpaces : bool

Gets a bool indicating if this word is composed only by spaces. Spaces include tabs and line breaks

Text : string

Gets the text of the word

Métodos

ToString() : string

Represents this word for debugging purposes

Campos

_hasSpaceAfter : bool

was there a whitespace after the word chars (before trim)

_hasSpaceBefore : bool

was there a whitespace before the word chars (before trim)

_text : string

The word text