pub trait Mixable: Color {
fn mix(&self, alpha: f64) -> CompsitableColor<Self> { ... }
}
The trait for any color that can composite with other color
fn mix(&self, alpha: f64) -> CompsitableColor<Self>
Introduce alpha channel to the color
Loading content...
fn mix(&self, alpha: f64) -> CompsitableColor<Self>
[src]
Loading content...