const class fwt::RichTextStyle

sys::Obj
  fwt::RichTextStyle

@Js
@Serializable

Source

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

bg

const Color? bg

Source

Background color or null

fg

const Color? fg

Source

Foreground color

font

const Font? font

Source

Font of text segment

make

new make(|This|? f := null)

Source

Default constructor.

toStr

virtual override Str toStr()

Source

underline

const RichTextUnderline underline := RichTextUnderline.none

Source

Underline style or none for no underline.

underlineColor

const Color? underlineColor

Source

Underline color, if null then use fg color.