IGradientBrush
trait · ferroui-base · v0.5.0
trait IGradientBrush: IBrush
A brush that draws with a gradient.
Members
gradient_stops
fn gradient_stops(self: &Self) -> Vec<Rc<dyn IGradientStop>>
The brush's gradient stops.
spread_method
fn spread_method(self: &Self) -> GradientSpreadMethod
The brush's spread method that defines how to draw a gradient that doesn't fill the bounds of the destination control.
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.