Defines the font and color styling of a text segment in a RichTextModel
.
Slots
- bgSource
-
const Color? bg
Background color or null
- fgSource
-
const Color? fg
Foreground color
- fontSource
-
const Font? font
Font of text segment
- makeSource
-
new make(|RichTextStyle|? f := null)
Default constructor.
- toStrSource
-
override Str toStr()
Overrides sys::Obj.toStr
Doc inherited from sys::Obj.toStr
Return a string representation of this object.
- underlineSource
-
const RichTextUnderline underline := RichTextUnderline.none
Underline style or none for no underline.
- underlineColorSource
-
const Color? underlineColor
Underline color, if null then use fg color.