Trait primitives::foundation::colorspace::prelude::AdjustAlpha
source · [−]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
fn transparency(&self, transparency: f32) -> Self
fn transparency(&self, transparency: f32) -> Self
Set the transparency