Text Label~
obj:label
Property | Value | Default | Description |
---|---|---|---|
text | string | "Text" | The text of the label, \n for line break. Can also be a variable. |
mode | string | crop |
The wrapping mode of long text labels:expand Expand the object size to the text sizebreak Keep the object width, break the too long lines and expand the object heightdots Keep the size and write dots at the end if the text is too longscroll Keep the size and roll the text back and forthloop Keep the size and roll the text circularlycrop Keep the size and crop the text out of it |
align | string | left |
Text alignment: left , center , right |
It's possible to set the color of characters in the text indvidually, just prefix the text to be re-colored with a #RRGGBB
hexadecimal color code and a space, and close with a single hash #
tag.
Example jsonl
1 2 |
|