SepiaEffect
struct · ferroui-base · v0.5.0
struct SepiaEffect
Tones the content in sepia (Effector's SepiaEffect): the identity
mixed with the sepia matrix by amount, clamped to 0..1.
sepia(amount=1). The graph is a sepia effect named after the
parameter, which sets its intensity (amount.Intensity): the default
binding of parameters to members.
Members
amount
amount: f64
How much sepia, 0 (unchanged) to 1 (default 1).
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.