In addition to its common properties, the text element has several properties of its own.
|When set to null, the width will automatically adjust to fit the text.
|When set to null, the height will automatically adjust to fit the text.
|The default fill color is #000000 (black).
|The horizontal text alignment. A value of 0% means it is left aligned. A value of 100% means it is right aligned.
|The vertical text alignment. A value of 0% means it is aligned at the top. A value of 100% means it is aligned at the bottom.
|The text displayed in the element.
|The font family used to render the text. You can define your own custom fonts at the top of the template.
|The font's weight.
|The font's style (e.g., italics).
|Use this property to set a fixed font size, or keep it at null if you want the font size to be automatically sized based on the available space.
|Use this property to specify the minimum font size when the text is auto-sized.
|Use this property to specify the maximum font size when the text is auto-sized.
|The text's letter spacing as a percentage of the font size.
|The text's line height as a percentage of the font size.
|If this is set to false, text will not wrap to the next line when there isn't enough space available in the element.
|Set this to true to clip off text that overflows the element's borders. An ellipsis (...) will be displayed if the text is clipped off. If you do not want to display an ellipsis, use the common property clip instead.
|A transformation applied to the text content. It can be set to none, capitalize, uppercase, or lowercase.
|The text background color.
|Horizontal padding added to the text background as a percentage of the font size.
|Vertical padding added to the text background as a percentage of the font size.
|Border radius of the text background.
|You can use this threshold to align the text background with other text lines. It is a percentage of the element's width. A value of 0% disables alignment.
|To use auto-transcription for this text element, set it to the ID of the video element for which subtitles are to be generated.
|The transcript effect: color, karaoke, highlight, fade, bounce, slide, or enlarge.
|The transcript split: none, word, or line.
|The transcript placement: static, animate, or align.
|The maximum number of characters shown simultaneously.
|The color applied to the currently spoken text (word or line). Use this in conjunction with "transcript_split".
Check out the template editor's documentation on the text element as well.