Struct epaint::color::Hsva [−][src]
Expand description
Hue, saturation, value, alpha. All in the range [0, 1]. No premultiplied alpha.
Fields
h: f32hue 0-1
s: f32saturation 0-1
v: f32value 0-1
a: f32alpha 0-1. A negative value signifies an additive color (and alpha is ignored).
Implementations
From sRGBA with premultiplied alpha
From sRGBA without premultiplied alpha
From linear RGBA with premultiplied alpha
From linear RGBA without premultiplied alpha
Represents additive colors using a negative alpha.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Hsva
impl UnwindSafe for Hsva
Blanket Implementations
Mutably borrows from an owned value. Read more
