[][src]Trait cichlid::prelude::GradientFillRGBToInclusive

pub trait GradientFillRGBToInclusive {
    fn gradient_fill_rgb_to_inclusive(self, start: ColorRGB, end: ColorRGB);
}

Fills an iterable object with a gradient from the ColorRGB values start to finish, inclusive of the finish.

Required methods

fn gradient_fill_rgb_to_inclusive(self, start: ColorRGB, end: ColorRGB)

Fills a gradient from two RGB's using linear interpolation between the two, inclusive of the end RGB.

Loading content...

Implementors

impl<'a, T, H: 'a> GradientFillRGBToInclusive for T where
    T: IntoIterator<Item = &'a mut H>,
    T::IntoIter: ExactSizeIterator + DoubleEndedIterator,
    H: From<ColorRGB>, 
[src]

Loading content...