Expand description
Color gradient types and nodes.
Macros§
- stops
- Creates a
GradientStopscontaining the arguments.
Structs§
- Color
Stop - A color stop in a gradient.
- Conic
Gradient - Conic gradient.
- Gradient
Builder - Gradient builder start.
- Gradient
Radius - The radial gradient radius length in both dimensions.
- Gradient
Stops - Stops in a gradient.
- Linear
Gradient - Linear gradient.
- Radial
Gradient - Radial gradient.
- Tiled
Conic Gradient - Tiled conic gradient.
- Tiled
Linear Gradient - Tiled linear gradient.
- Tiled
Radial Gradient - Tiled radial gradient.
Enums§
- Extend
Mode - Specifies how to draw the gradient outside the first and last stop.
- Gradient
Radius Base - The radial gradient radius base length.
- Gradient
Stop - A stop in a gradient.
- Linear
Gradient Axis - The angle or line that defines a linear gradient.
Functions§
- conic_
gradient - Starts building a conic gradient with the angle and color stops.
- gradient
- Starts building a gradient with the color stops.
- linear_
gradient - Starts building a linear gradient with the axis and color stops.
- radial_
gradient - Starts building a radial gradient with the radius and color stops.
Type Aliases§
- Render
Extend Mode - Gradient extend mode supported by the render.
- Render
Gradient Stop - Computed
GradientStop.