class

FontStyle

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

Font style property values: normal, italic, oblique

constructors fromStr

Return the FontStyle instance for the specified name

fields oblique

normal

vals

List of FontStyle values indexed by ordinal

italic

methods isNormal

Is this the normal value

fromStr static new fromStr(Str name, Bool checked)

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

Haxall 4.0.5 ∙ 24-Feb-2026 14:33 EST