☰
Module gradient_shader
Modules
Structs
Enums
Functions
?
Module
skia_safe
::
gradient_shader
source
·
[
−
]
Modules
interpolation
Structs
Flags
Interpolation
Enums
GradientShaderColors
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
linear
linear_with_interpolation
radial
radial_with_interpolation
sweep
sweep_with_interpolation
two_point_conical
two_point_conical_with_interpolation