logo
pub trait Lighten: Sized {
    fn lighten(self, delta: f32) -> Self;

    fn darken(self, delta: f32) -> Self { ... }
}
Expand description

Defines the color lighten/darken functionality

Required Methods

Lighten the color with delta

Provided Methods

Darken the color with delta

Implementors