TextObject is a subclass of
RichTextObject.1. Class methods
text_object(value)
- [PARAM] value
- a text (String)
- existing TextObject
2. Instance methods
bold=(flag) code=(flag) color=(color) italic=(flag) strikethrough=(flag) underline=(flag)
- [PARAM] flag
true if the
RichTextObjectis bold/code/italic/strikethrough/underline text
- [PARAM] color
color string for
color=
bold=, code=, italic=, strikethrough= and underline= set the correspond flag. color= sets the object color.text=(str)
- [PARAM] str new text (String)
text= sets str to text and plain_text, and set will_update flag to true.