- Index
- »
- graphics
- »
- FontWeight
type
FontWeight
@Js
@Serializable { simple=true }
enum class FontWeight : Enum
Font weight property values
enum
constructors
fromStr |
Return the FontWeight instance for the specified name. |
---|
fields
methods
Slot Details
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
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 FontWeight[] vals := ...
List of FontWeight values indexed by ordinal