Fantom

 

const final enum

gfx::GradientMode

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

@Js
@Serializable { simple=true collection=false }

Linear or radial

Slots

fromStrSource

static GradientMode? 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.

linearSource

const static GradientMode linear

radialSource

const static GradientMode radial

valsSource

const static GradientMode[] vals := ...

List of GradientMode values indexed by ordinal