[][src]Trait plotters::style::Mixable

pub trait Mixable: Color {
    fn mix(&self, alpha: f64) -> CompsitableColor<Self> { ... }
}

The trait for any color that can composite with other color

Provided methods

fn mix(&self, alpha: f64) -> CompsitableColor<Self>

Introduce alpha channel to the color

Loading content...

Implementors

impl<T: Color + Sized> Mixable for T[src]

fn mix(&self, alpha: f64) -> CompsitableColor<Self>[src]

Loading content...