vizia
0.2.0
Module gradient_
shader
Module Items
Modules
Structs
Enums
Functions
In vizia::
vg
vizia
::
vg
Module
gradient_shader
Copy item path
Modules
§
interpolation
Structs
§
Flags
Interpolation
Enums
§
Gradient
Shader
Colors
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