Skip to main content

Module gradient

Module gradient 

Expand description

Gradient specifications and shader factory functions for linear, radial, and two-point conical gradients.

Modules§

interpolation
Types that specify how colors are interpolated in a gradient, including the interpolation color space, premultiplication mode, and hue method.
shaders
Shader factory functions that accept Gradient parameters.

Structs§

Colors
Specification for the colors in a gradient.
Gradient
Gradient specification combining colors and interpolation settings.
Interpolation
Gradient interpolation settings.