WhiteSpace enumeration

WhiteSpace enumeration

Specifies how white space inside an SVG element is handled.

The WhiteSpace type exposes the following members:

Fields

FieldDescription
NORMALWhite space is collapsed; newline characters create new lines.
PREWhite space is preserved; text is only wrapped where it contains newline characters.
NO_WRAPWhite space is collapsed; text does not wrap.
PRE_WRAPWhite space is preserved; text wraps where necessary and on newline characters.
BREAK_SPACESWhite space is preserved; line breaks are added to fill line boxes.
PRE_LINEWhite space is preserved; text wraps where necessary, but no newline characters.

See Also