enum openfl.display.GradientType

Available on all platforms

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

Constructors

RADIAL

Value used to specify a radial gradient fill.

LINEAR

Value used to specify a linear gradient fill.