pub enum CompositionColorSpace {
Auto,
Hsl,
Rgb,
HslLinear,
RgbLinear,
}Expand description
The colour space a colour animation interpolates in (WinUI
CompositionColorSpace, the type of
ColorKeyFrameAnimation.InterpolationColorSpace).
Variants§
Auto
The compositor chooses: here the gamma-encoded RGB space, as Rgb.
Hsl
Hue, saturation and lightness.
Rgb
The red, green and blue channels as stored (gamma-encoded sRGB).
HslLinear
Hue, saturation and lightness of the linear-light colour.
RgbLinear
The red, green and blue channels in linear light.
Trait Implementations§
Source§impl Clone for CompositionColorSpace
impl Clone for CompositionColorSpace
impl Copy for CompositionColorSpace
Source§impl Debug for CompositionColorSpace
impl Debug for CompositionColorSpace
Source§impl Default for CompositionColorSpace
impl Default for CompositionColorSpace
impl Eq for CompositionColorSpace
Source§impl Hash for CompositionColorSpace
impl Hash for CompositionColorSpace
Source§impl PartialEq for CompositionColorSpace
impl PartialEq for CompositionColorSpace
impl StructuralPartialEq for CompositionColorSpace
Auto Trait Implementations§
impl Freeze for CompositionColorSpace
impl RefUnwindSafe for CompositionColorSpace
impl Send for CompositionColorSpace
impl Sync for CompositionColorSpace
impl Unpin for CompositionColorSpace
impl UnsafeUnpin for CompositionColorSpace
impl UnwindSafe for CompositionColorSpace
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more