API / geotoolkit / attributes / TextStyle / WhiteSpaceStyle
attributes.TextStyle.WhiteSpaceStyle
Enum of white-space The white-space property sets how white space inside an element is handled. https://developer.mozilla.org/en-US/docs/Web/CSS/white-space
Enumeration Members
• BreakSpaces = "break-spaces"
BreakSpaces The behavior is identical to that of pre-wrap, except that:
- Any sequence of preserved white space always takes up space, including at the end of the line.
- A line breaking opportunity exists after every preserved white space character, including between white space characters.
- Such preserved spaces take up space and do not hang, and thus affect the box’s intrinsic sizes (min-content size and max-content size).
• NoWrap = "nowrap"
NoWrap Collapses white space as for normal, but suppresses line breaks (text wrapping) within the source.
• Normal = "normal"
Normal Sequences of white space are collapsed. Newline characters in the source are handled the same as other white space. Lines are broken as necessary to fill line boxes.
• Pre = "pre"
Pre Sequences of white space are preserved. Lines are only broken at newline characters in the source and at
elements.
• PreLine = "pre-line"
PreLine Sequences of white space are collapsed. Lines are broken at newline characters, at
, and as necessary to fill line boxes.
• PreWrap = "pre-wrap"
PreWrap Sequences of white space are preserved. Lines are broken at newline characters, at
, and as necessary to fill line boxes.
• Undefined = "undefined"
Undefined (Default) Backward compatibility