logo
pub trait GetAlpha<C> {
    fn get_alpha(&self) -> f32;
    fn get_opacity(&self) -> f32;
    fn get_transparency(&self) -> f32;
}
Expand description

Defines get alpha getters functionality

Required Methods

Retrieve the alpha component

Retrieve the alpha component as opacity

Retrieve the alpha component as transparency

Implementors