Text Attributes
Text attributes are used to change the style of text. These attributes are used across multiple text based elements.
Attributes
bold
Whether or not the text is bold. Is a boolean value. Defaults to false.
italic
Whether or not the text is italic. Is a boolean value. Defaults to false.
underline
Whether or not the text is underlined. Is a boolean value. Defaults to false.
strikethrough
Whether or not the text is strikethrough. Is a boolean value. Defaults to false.
obfuscated
Whether or not the text is obfuscated. Is a boolean value. Defaults to false.
centered
Whether or not the text is centered. Is a boolean value. Defaults to false.
shadowed
Whether or not the text has a shadow. Is a boolean value. Defaults to false.
The color of the text.
Version History
Version | Changes |
---|---|
1.2.1 | Makes it so that elements that extend TextAttributes can use the style attributes. |
1.0 | Initial release. |