Trait primitives::colorspace::alpha::SetAlpha[][src]

pub trait SetAlpha<C> {
    fn set_alpha(&mut self, alpha: f64) -> &Self;
fn set_opacity(&mut self, opacity: f64) -> &Self;
fn set_transparency(&mut self, transparency: f64) -> &Self; }

Required methods

fn set_alpha(&mut self, alpha: f64) -> &Self[src]

fn set_opacity(&mut self, opacity: f64) -> &Self[src]

fn set_transparency(&mut self, transparency: f64) -> &Self[src]

Loading content...

Implementors

impl SetAlpha<Color<f64>> for Color[src]

impl SetAlpha<RgbColor> for RgbaColor[src]

impl<C: ColorSpace> SetAlpha<C> for Alpha<C>[src]

Loading content...