enum class gfx::GradientMode

sys::Obj
  sys::Enum
    gfx::GradientMode

@Js
@Serializable { simple=true }

Source

Linear or radial

fromStr

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

Source

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 := ...

Source

radial

const static GradientMode radial := ...

Source

vals

const static GradientMode[] vals := ...

Source

List of GradientMode values indexed by ordinal