enum const class graphics::FontWeight
sys::Obj sys::Enum graphics::FontWeight
@Js
@Serializable { simple=true }
Font weight property values
- black
-
const static FontWeight black := ...
- bold
-
const static FontWeight bold := ...
- extraBold
-
const static FontWeight extraBold := ...
- extraLight
-
const static FontWeight extraLight := ...
- fromNum
-
static FontWeight? fromNum(Int num, Bool checked := true)
From numeric value 100 to 900
- fromStr
-
static new fromStr(Str name, Bool checked := true)
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()
Is this the normal value
- light
-
const static FontWeight light := ...
- medium
-
const static FontWeight medium := ...
- normal
-
const static FontWeight normal := ...
- num
-
const Int num
Numeric weight as number from 100 to 900
- semiBold
-
const static FontWeight semiBold := ...
- thin
-
const static FontWeight thin := ...
- vals
-
const static List<FontWeight> vals := ...
List of FontWeight values indexed by ordinal