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
Implementors
impl SetAlpha<RgbColor> for RgbaColor
impl SetAlpha<RgbColor> for RgbaColor
pub fn set_alpha(&mut self, alpha: f64) -> &RgbaColor
pub fn set_opacity(&mut self, opacity: f64) -> &RgbaColor
pub fn set_transparency(&mut self, transparency: f64) -> &RgbaColor
impl<C> SetAlpha<C> for Alpha<C> where
C: ColorSpace,
impl<C> SetAlpha<C> for Alpha<C> where
C: ColorSpace,