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
fn get_opacity(&self) -> f32
fn get_opacity(&self) -> f32
Retrieve the alpha component as opacity
fn get_transparency(&self) -> f32
fn get_transparency(&self) -> f32
Retrieve the alpha component as transparency