Specifies how text is trimmed when it overflows its desired box.
Type Details
- yfiles module
- view-component
- yfiles-umd modules
- All view modules
- Legacy UMD name
- yfiles.view.TextWrapping
Constants
The text is wrapped character-wise when it overflows its container and if the wrapped text is bigger than the available container, then it is trimmed character by character to fit the container.
See Also
The text is wrapped character-wise when it overflows its container and if the wrapped text is bigger than the available container, then it is trimmed character by character to fit the container and an ellipsis is added to indicate trimmed text.
See Also
The text should neither be wrapped nor trimmed when it overflows its container.
See Also
The text is wrapped at word boundaries when it overflows its container and if the wrapped text is bigger than the available container, then it is trimmed at word boundaries to fit the container.
See Also
The text is wrapped at word boundaries when it overflows its container and if the wrapped text is bigger than the available container, then it is trimmed character by character to fit the container and an ellipsis is added to indicate trimmed text.
See Also
Static Methods
Converts the argument to TextWrapping.
Parameters
A map of options to pass to the method.
- value - TextWrapping
- The value to convert to TextWrapping.
Returns
- ↪TextWrapping
- Either
value
if it is already a TextWrapping or an appropriate converted value.