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

Variables

@:enum@:implinlineread onlyLINEAR:GradientType

Value used to specify a linear gradient fill.

@:enum@:implinlineread onlyRADIAL:GradientType

Value used to specify a radial gradient fill.