SaturationEffect
struct · ferroui-base · v0.5.0
struct SaturationEffect
Changes the saturation of the content (Effector's SaturationEffect):
0 is grey, 1 unchanged, up to 2.5 more saturated (clamped).
saturation(saturation=1.5). The graph is a saturation effect
(Saturation.Saturation).
Members
saturation
saturation: f64
The saturation, 0 to 2.5 (default 1).
MAXIMUM
const MAXIMUM: f64
The largest saturation.
matrix
fn matrix(self: &Self) -> ColorMatrix
The colour matrix of the effect.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafePropertyValueAnyValueClassDefaultsBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedErasedDestructorIntoEitherCloneDebugStructuralPartialEqPartialEqDefaultCustomEffect
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.