type

FontStyle

@Js
@Serializable { simple=true }
enum class FontStyle : Enum

Font style property values: normal, italic, oblique

enum

constructors

fromStr

Return the FontStyle instance for the specified name.

fields

vals

List of FontStyle values indexed by ordinal

methods

isNormal

Is this the normal value

Slot Details

fromStr

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

Return the FontStyle 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

italic

const static FontStyle italic := ...

normal

const static FontStyle normal := ...

oblique

const static FontStyle oblique := ...

vals

const static FontStyle[] vals := ...

List of FontStyle values indexed by ordinal