Trait piet::GradientStops [−][src]
pub trait GradientStops {
fn to_vec(self) -> Vec<GradientStop>;
}
Expand description
A flexible, ergonomic way to describe gradient stops.
Required methods
fn to_vec(self) -> Vec<GradientStop>
fn to_vec(self) -> Vec<GradientStop>
Convert into a vector of gradient steps.
Note: this method may be renamed into_vec
in a future release.