enum class gfx::GradientMode
sys::Obj sys::Enum gfx::GradientMode
@Js@Serializable { simple=true }
Linear or radial
- fromStr
-
static new fromStr(Str name, Bool checked := true)Return the GradientMode instance for the specified name. If not a valid name and checked is false return null, otherwise throw ParseErr.
- linear
-
const static GradientMode linear := ... - radial
-
const static GradientMode radial := ... - vals
-
const static GradientMode[] vals := ...List of GradientMode values indexed by ordinal