ColorKeyFrameAnimation
struct · ferroui-base · v0.5.0
struct ColorKeyFrameAnimation
A key frame animation of $crate :: media :: Color values.
Members
newinsert_key_frame_with_easinginsert_key_frameinterpolation_color_spaceset_interpolation_color_space
new
fn new(compositor: &Rc<Compositor>) -> Rc<ColorKeyFrameAnimation>
insert_key_frame_with_easing
fn insert_key_frame_with_easing(self: &Self, normalized_progress_key: f32, value: $crate::media::Color, easing_function: Rc<dyn IEasing>)
insert_key_frame
fn insert_key_frame(self: &Self, normalized_progress_key: f32, value: $crate::media::Color)
interpolation_color_space
fn interpolation_color_space(self: &Self) -> CompositionColorSpace
The colour space the key frames are interpolated in (WinUI
InterpolationColorSpace); Auto interpolates in RGB.
set_interpolation_color_space
fn set_interpolation_color_space(self: &Self, value: CompositionColorSpace)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeClassDefaultsBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyErasedDestructorIntoEitherDerefICompositionAnimationBaseICompositionAnimationAsCompositionObject
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.