Trait primitives::foundation::colorspace::prelude::AdjustHue
source · [−]pub trait AdjustHue: Sized {
fn adjust_hue(self, delta: f32) -> Self;
fn complement(self) -> Self { ... }
}
Expand description
Defines the color hue adjustment functionality
Required Methods
fn adjust_hue(self, delta: f32) -> Self
fn adjust_hue(self, delta: f32) -> Self
Adjust hue component of color with delta
Provided Methods
fn complement(self) -> Self
fn complement(self) -> Self
Rotate hue component with 180 degrees