enum const class graphics::FontWeight

sys::Obj
  sys::Enum
    graphics::FontWeight

@Js
@Serializable { simple=true }

Source

Font weight property values

black

const static FontWeight black := ...

Source

bold

const static FontWeight bold := ...

Source

extraBold

const static FontWeight extraBold := ...

Source

extraLight

const static FontWeight extraLight := ...

Source

fromNum

static FontWeight? fromNum(Int num, Bool checked := true)

Source

From numeric value 100 to 900

fromStr

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

Source

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

isNormal

Bool isNormal()

Source

Is this the normal value

light

const static FontWeight light := ...

Source

medium

const static FontWeight medium := ...

Source

normal

const static FontWeight normal := ...

Source

num

const Int num

Source

Numeric weight as number from 100 to 900

semiBold

const static FontWeight semiBold := ...

Source

thin

const static FontWeight thin := ...

Source

vals

const static List<FontWeight> vals := ...

Source

List of FontWeight values indexed by ordinal