Trait primitives::colorspace::alpha::GetAlpha [−][src]
pub trait GetAlpha<C> { fn get_alpha(&self) -> f64; fn get_opacity(&self) -> f64; fn get_transparency(&self) -> f64; }
Required methods
fn get_alpha(&self) -> f64
[src]
fn get_opacity(&self) -> f64
[src]
fn get_transparency(&self) -> f64
[src]
Implementors
impl GetAlpha<Color<f64>> for Color
[src]
impl GetAlpha<Color<f64>> for Color
[src]fn get_alpha(&self) -> f64
[src]
fn get_opacity(&self) -> f64
[src]
fn get_transparency(&self) -> f64
[src]
impl GetAlpha<RgbColor> for RgbaColor
[src]
impl GetAlpha<RgbColor> for RgbaColor
[src]fn get_alpha(&self) -> f64
[src]
fn get_opacity(&self) -> f64
[src]
fn get_transparency(&self) -> f64
[src]
impl<C: ColorSpace> GetAlpha<C> for Alpha<C>
[src]
impl<C: ColorSpace> GetAlpha<C> for Alpha<C>
[src]