Brush
struct in UI
Description
Brush defines a way to fill an arbitrary surface.
Fields
Name | Type | Description |
---|---|---|
solid_color | Color? | A brush, that fills a surface with a solid color. |
linear_gradient | LinearGradient? | A brush, that fills a surface with a linear gradient, which is defined by two points in local coordinates and a set of stop points. See [ |
radial_gradient | RadialGradient? | A brush, that fills a surface with a radial gradient, which is defined by a center point in local coordinates and a set of stop points. See [ |