SepiaEffect
struct · ferroui-base · v0.5.0
struct SepiaEffect
Tones its source in sepia (Win2D SepiaEffect): a colour matrix
(ColorMatrix::sepia) between the identity at intensity 0 and the
sepia matrix at 1. Animatable: Intensity.
Members
name
name: String
The name of the effect.
intensity
intensity: f32
The intensity, 0 to 1 (default 0.5).
alpha_mode
alpha_mode: crate::media::ColorMatrixAlphaMode
Whether the matrix applies to premultiplied or straight colours (default premultiplied: the colour is un-premultiplied first).
source
source: Option<GraphicsEffectSource>
The input.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafePropertyValueAnyValueClassDefaultsBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedErasedDestructorIntoEitherFrom<SepiaEffect>CloneDebugStructuralPartialEqPartialEqDefault
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.