logo
pub trait AdjustAlpha<C>: Clone + SetAlpha<C> {
    fn alpha(&self, alpha: f32) -> Self { ... }
    fn opacity(&self, opacity: f32) -> Self { ... }
    fn transparency(&self, transparency: f32) -> Self { ... }
}
Expand description

Defines alpha adjustment functionality

Provided Methods

Set the alpha component

Set the opacity

Set the transparency

Implementors