pub type Shader = Brush;Expand description
A renderer-neutral shader value.
Incular’s gradients are already immutable, cacheable shader descriptions; keeping this alias means widgets and text do not need a second shader hierarchy that would eventually drift from the renderer’s brush model.
Aliased Type§
pub enum Shader {
Solid(Color),
LinearGradient(LinearGradient),
RadialGradient(RadialGradient),
SweepGradient(SweepGradient),
}