virtual class vaseGui::RichTextStyle

sys::Obj
  vaseGui::RichTextStyle

@Js
@Serializable

Defines the font and color styling of a text segment in a RichTextModel.

bg

const Color? bg

Background color or null

fg

const Color? fg

Foreground color

font

Font? font

Font of text segment

make

new make(Func<Void,This>? f := null)

Default constructor.

toStr

virtual override Str toStr()

underline

const Int underline := 0

Underline style or none for no underline. none,single,squiggle

underlineColor

const Color? underlineColor

Underline color, if null then use fg color.