FontWeight
@Js
@Serializable { simple=true }
const class FontWeight : Enum
Font weight property values
Return the FontWeight instance for the specified name
List of FontWeight values indexed by ordinal
Numeric weight as number from 100 to 900
Is this the normal value
From numeric value 100 to 900
const static FontWeight : black
const static FontWeight : bold
const static FontWeight : extraBold
const static FontWeight : extraLight
static FontWeight? fromNum(Int num, Bool checked)
From numeric value 100 to 900
static new fromStr(Str name, Bool checked)
Return the FontWeight instance for the specified name. If not a valid name and checked is false return null, otherwise throw ParseErr.
Bool isNormal()
Is this the normal value
const static FontWeight : light
const static FontWeight : medium
const static FontWeight : normal
const Int : num
Numeric weight as number from 100 to 900
const static FontWeight : semiBold
const static FontWeight : thin
const static FontWeight[] : vals
List of FontWeight values indexed by ordinal