API / geotoolkit / attributes / TextStyle / TextOverflowStyle

Enumeration: TextOverflowStyle

attributes.TextStyle.TextOverflowStyle

Enum of text-overflow The text-overflow CSS property sets how hidden overflow content is signaled to users. It can be clipped, display an ellipsis ('…'), or display a custom string. https://developer.mozilla.org/en-US/docs/Web/CSS/text-overflow

Table of contents

Enumeration Members

Contents

Enumeration Members

Clip

Clip = "clip"

Clip This keyword value will truncate the text at the limit of the content area, therefore the truncation can happen in the middle of a character. To clip at the transition between characters you can specify text-overflow as an empty string. .setTextOverflow('')


Ellipsis

Ellipsis = "ellipsis"

Ellipsis This keyword value will display an ellipsis ('…', U+2026 HORIZONTAL ELLIPSIS) to represent clipped text. The ellipsis is displayed inside the content area, decreasing the amount of text displayed. If there is not enough space to display the ellipsis, it is clipped.


Undefined

Undefined = "undefined"

Undefined (Default) Text does not clip by the limit of the user specified area