Trait components::colorspace::alpha::GetAlpha[]

pub trait GetAlpha<C> {
    pub fn get_alpha(&self) -> f64;
pub fn get_opacity(&self) -> f64;
pub fn get_transparency(&self) -> f64; }

Required methods

pub fn get_alpha(&self) -> f64

pub fn get_opacity(&self) -> f64

pub fn get_transparency(&self) -> f64

Loading content...

Implementors

impl GetAlpha<Color<f64>> for Color<f64>

impl GetAlpha<RgbColor> for RgbaColor

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

Loading content...