vizia
0.1.0
Module gradient_shader
Modules
Structs
Enums
Functions
In vizia::vg
Module
vizia
::
vg
::
gradient_shader
Copy item path
[
−
]
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