Struct sixtyfps_corelib::graphics::GradientStop
source · [−]Expand description
GradientStop describes a single color stop in a gradient. The colors between multiple stops are interpolated.
Fields
color: Color
The color to draw at this stop.
position: f32
The position of this stop on the entire shape, as a normalized value between 0 and 1.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for GradientStop
impl Send for GradientStop
impl Sync for GradientStop
impl Unpin for GradientStop
impl UnwindSafe for GradientStop
Blanket Implementations
Mutably borrows from an owned value. Read more