The GradientType class provides values for the type parameter in the beginGradientFill() and lineGradientStyle() methods of the openfl.display.Graphics class.

Variables

@:value(cast "linear")@:enum@:implinlineread onlyLINEAR:GradientType = "linear"

Value used to specify a linear gradient fill.

@:value(cast "radial")@:enum@:implinlineread onlyRADIAL:GradientType = "radial"

Value used to specify a radial gradient fill.