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

See also:

Variables

@:value(cast 0)@:impl@:enuminlineread onlyLINEAR:GradientType = 0

Value used to specify a linear gradient fill.

@:value(cast 1)@:impl@:enuminlineread onlyRADIAL:GradientType = 1

Value used to specify a radial gradient fill.