Trait piet_common::GradientStops
source · pub trait GradientStops {
fn to_vec(self) -> Vec<GradientStop, Global>;
}Expand description
A flexible, ergonomic way to describe gradient stops.
Required Methods
sourcefn to_vec(self) -> Vec<GradientStop, Global>
fn to_vec(self) -> Vec<GradientStop, Global>
Convert into a vector of gradient steps.
Note: this method may be renamed into_vec in a future release.