pub trait ColorExt {
// Required method
fn blend_alpha(self, background: Self, alpha: f32) -> Self;
}
Required Methods§
sourcefn blend_alpha(self, background: Self, alpha: f32) -> Self
fn blend_alpha(self, background: Self, alpha: f32) -> Self
Combines color with background to create appearance of transparency.
Object Safety§
This trait is not object safe.