Trait components::colorspace::SetAlpha[]

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

Required methods

pub fn set_alpha(&mut self, alpha: f64) -> &Self

pub fn set_opacity(&mut self, opacity: f64) -> &Self

pub fn set_transparency(&mut self, transparency: f64) -> &Self

Loading content...

Implementors

impl SetAlpha<Color<f64>> for Color<f64>

impl SetAlpha<RgbColor> for RgbaColor

impl<C> SetAlpha<C> for Alpha<C> where
    C: ColorSpace

Loading content...