enum const class vaseGraphics::GradientMode
sys::Obj sys::Enum vaseGraphics::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 List<GradientMode> vals := ...
List of GradientMode values indexed by ordinal