type

FontStyle

src @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

src 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

src Bool isNormal()

Is this the normal value

italic

src const static FontStyle italic := ...

normal

src const static FontStyle normal := ...

oblique

src const static FontStyle oblique := ...

vals

src const static FontStyle[] vals := ...

List of FontStyle values indexed by ordinal