LogoPixi’VN
pixi-jsType aliases

Type Alias: GradientType

> GradientType = "linear" | "radial"

Defined in: node_modules/pixi.js/lib/scene/graphics/shared/fill/FillGradient.d.ts:16

Defines the type of gradient to create.

It can be:

  • 'linear': A linear gradient that transitions colors along a straight line.
  • 'radial': A radial gradient that transitions colors in a circular pattern from an inner circle to an outer circle.

Standard