Rendering API
Text Clipping Mode txt-clip
Sets the region of the string that will be clipped if the string extends beyond the defined width of the text.
Valid inputs are start
, middle
, end
, and ellipsis
. The ellipsis
input adds an ellipsis on the region where the text is clipped, and can be combined with one of the other values by separating them with a comma. If no value is set, the default value is end
.
The txt-pad
and txt-width
values are used to control the bounding region.
txt-clip
is currently not supported on the ~text
endpoint. See the API specification for more information about this parameter's value ranges and format.