Skip to main content

Module gradient_shader

Module gradient_shader 

👎Deprecated since 0.94.0: Use the skia_safe::gradient module

Structs§

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

Enums§

GradientShaderColorsDeprecated
Type that represents either a slice of Color, or a slice of Color4f and a color space. Whenever this type is expected, it’s either possible to directly pass a &[Color] , or a tuple of type (&[Color4f], &ColorSpace).

Functions§

linearDeprecated
linear_with_interpolationDeprecated
radialDeprecated
radial_with_interpolationDeprecated
sweepDeprecated
sweep_with_interpolationDeprecated
two_point_conicalDeprecated
two_point_conical_with_interpolationDeprecated