Fan

 

const final enum

fwt::RichTextUnderline

sys::Obj
  sys::Enum
    fwt::RichTextUnderline

@simple
@js

Defines how to paint the underline of a RichText segment.

Slots

fromStrSource

static RichTextUnderline? fromStr(Str name, Bool checked := true)

Return the RichTextUnderline instance for the specified name. If not a valid name and checked is false return null, otherwise throw ParseErr.

noneSource

static RichTextUnderline none := RichTextUnderline.make(0, "none")

singleSource

static RichTextUnderline single := RichTextUnderline.make(1, "single")

squiggleSource

static RichTextUnderline squiggle := RichTextUnderline.make(2, "squiggle")

valuesSource

static RichTextUnderline[] values := ...

List of RichTextUnderline values indexed by ordinal