pub enum GraphicsEffect {
Show 17 variants
GaussianBlur(GaussianBlurEffect),
Opacity(OpacityEffect),
CrossFade(CrossFadeEffect),
Composite(CompositeEffect),
ColorSource(ColorSourceEffect),
Saturation(SaturationEffect),
Blend(BlendEffect),
ColorMatrix(ColorMatrixEffect),
Tint(TintEffect),
Invert(InvertEffect),
Grayscale(GrayscaleEffect),
LuminanceToAlpha(LuminanceToAlphaEffect),
ArithmeticComposite(ArithmeticCompositeEffect),
AlphaMask(AlphaMaskEffect),
Border(BorderEffect),
SceneLighting(SceneLightingEffect),
Shadow(ShadowEffect),
}Expand description
An effect description (WinUI IGraphicsEffect): one of the Win2D
effects of this module.
Variants§
GaussianBlur(GaussianBlurEffect)
Opacity(OpacityEffect)
CrossFade(CrossFadeEffect)
Composite(CompositeEffect)
ColorSource(ColorSourceEffect)
Saturation(SaturationEffect)
Blend(BlendEffect)
ColorMatrix(ColorMatrixEffect)
Tint(TintEffect)
Invert(InvertEffect)
Grayscale(GrayscaleEffect)
LuminanceToAlpha(LuminanceToAlphaEffect)
ArithmeticComposite(ArithmeticCompositeEffect)
AlphaMask(AlphaMaskEffect)
Border(BorderEffect)
SceneLighting(SceneLightingEffect)
Shadow(ShadowEffect)
Implementations§
Trait Implementations§
Source§impl Clone for GraphicsEffect
impl Clone for GraphicsEffect
Source§impl Debug for GraphicsEffect
impl Debug for GraphicsEffect
Source§impl From<AlphaMaskEffect> for GraphicsEffect
impl From<AlphaMaskEffect> for GraphicsEffect
Source§fn from(effect: AlphaMaskEffect) -> Self
fn from(effect: AlphaMaskEffect) -> Self
Converts to this type from the input type.
Source§impl From<ArithmeticCompositeEffect> for GraphicsEffect
impl From<ArithmeticCompositeEffect> for GraphicsEffect
Source§fn from(effect: ArithmeticCompositeEffect) -> Self
fn from(effect: ArithmeticCompositeEffect) -> Self
Converts to this type from the input type.
Source§impl From<BlendEffect> for GraphicsEffect
impl From<BlendEffect> for GraphicsEffect
Source§fn from(effect: BlendEffect) -> Self
fn from(effect: BlendEffect) -> Self
Converts to this type from the input type.
Source§impl From<BorderEffect> for GraphicsEffect
impl From<BorderEffect> for GraphicsEffect
Source§fn from(effect: BorderEffect) -> Self
fn from(effect: BorderEffect) -> Self
Converts to this type from the input type.
Source§impl From<ColorMatrixEffect> for GraphicsEffect
impl From<ColorMatrixEffect> for GraphicsEffect
Source§fn from(effect: ColorMatrixEffect) -> Self
fn from(effect: ColorMatrixEffect) -> Self
Converts to this type from the input type.
Source§impl From<ColorSourceEffect> for GraphicsEffect
impl From<ColorSourceEffect> for GraphicsEffect
Source§fn from(effect: ColorSourceEffect) -> Self
fn from(effect: ColorSourceEffect) -> Self
Converts to this type from the input type.
Source§impl From<CompositeEffect> for GraphicsEffect
impl From<CompositeEffect> for GraphicsEffect
Source§fn from(effect: CompositeEffect) -> Self
fn from(effect: CompositeEffect) -> Self
Converts to this type from the input type.
Source§impl From<CrossFadeEffect> for GraphicsEffect
impl From<CrossFadeEffect> for GraphicsEffect
Source§fn from(effect: CrossFadeEffect) -> Self
fn from(effect: CrossFadeEffect) -> Self
Converts to this type from the input type.
Source§impl From<GaussianBlurEffect> for GraphicsEffect
impl From<GaussianBlurEffect> for GraphicsEffect
Source§fn from(effect: GaussianBlurEffect) -> Self
fn from(effect: GaussianBlurEffect) -> Self
Converts to this type from the input type.
Source§impl From<GraphicsEffect> for GraphicsEffectSource
impl From<GraphicsEffect> for GraphicsEffectSource
Source§fn from(effect: GraphicsEffect) -> Self
fn from(effect: GraphicsEffect) -> Self
Converts to this type from the input type.
Source§impl From<GrayscaleEffect> for GraphicsEffect
impl From<GrayscaleEffect> for GraphicsEffect
Source§fn from(effect: GrayscaleEffect) -> Self
fn from(effect: GrayscaleEffect) -> Self
Converts to this type from the input type.
Source§impl From<InvertEffect> for GraphicsEffect
impl From<InvertEffect> for GraphicsEffect
Source§fn from(effect: InvertEffect) -> Self
fn from(effect: InvertEffect) -> Self
Converts to this type from the input type.
Source§impl From<LuminanceToAlphaEffect> for GraphicsEffect
impl From<LuminanceToAlphaEffect> for GraphicsEffect
Source§fn from(effect: LuminanceToAlphaEffect) -> Self
fn from(effect: LuminanceToAlphaEffect) -> Self
Converts to this type from the input type.
Source§impl From<OpacityEffect> for GraphicsEffect
impl From<OpacityEffect> for GraphicsEffect
Source§fn from(effect: OpacityEffect) -> Self
fn from(effect: OpacityEffect) -> Self
Converts to this type from the input type.
Source§impl From<SaturationEffect> for GraphicsEffect
impl From<SaturationEffect> for GraphicsEffect
Source§fn from(effect: SaturationEffect) -> Self
fn from(effect: SaturationEffect) -> Self
Converts to this type from the input type.
Source§impl From<SceneLightingEffect> for GraphicsEffect
impl From<SceneLightingEffect> for GraphicsEffect
Source§fn from(effect: SceneLightingEffect) -> Self
fn from(effect: SceneLightingEffect) -> Self
Converts to this type from the input type.
Source§impl From<ShadowEffect> for GraphicsEffect
impl From<ShadowEffect> for GraphicsEffect
Source§fn from(effect: ShadowEffect) -> Self
fn from(effect: ShadowEffect) -> Self
Converts to this type from the input type.
Source§impl From<TintEffect> for GraphicsEffect
impl From<TintEffect> for GraphicsEffect
Source§fn from(effect: TintEffect) -> Self
fn from(effect: TintEffect) -> Self
Converts to this type from the input type.
Source§impl PartialEq for GraphicsEffect
impl PartialEq for GraphicsEffect
impl StructuralPartialEq for GraphicsEffect
Auto Trait Implementations§
impl Freeze for GraphicsEffect
impl RefUnwindSafe for GraphicsEffect
impl Send for GraphicsEffect
impl Sync for GraphicsEffect
impl Unpin for GraphicsEffect
impl UnsafeUnpin for GraphicsEffect
impl UnwindSafe for GraphicsEffect
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