UNPKG

openfl

Version:

A fast, productive library for 2D cross-platform development.

26 lines (19 loc) 484 B
declare namespace openfl.display { /** * The GradientType class provides values for the `type` parameter * in the `beginGradientFill()` and * `lineGradientStyle()` methods of the openfl.display.Graphics * class. */ export enum GradientType { /** * Value used to specify a linear gradient fill. */ LINEAR = "linear", /** * Value used to specify a radial gradient fill. */ RADIAL = "radial" } } export default openfl.display.GradientType;