vizia_
core
0.1.0
Module gradient_
shader
Modules
Structs
Enums
Functions
In vizia_
core::
vg
Module
vizia_core
::
vg
::
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