DrawingContext::PushEffect Method (BitmapEffect^, BitmapEffectInput^)
.NET Framework (current version)
Note: This API is now obsolete.Namespace:
System.Windows.Media
Assembly: PresentationCore (in PresentationCore.dll)
Return to top
Pushes the specified BitmapEffect onto the drawing context.
Assembly: PresentationCore (in PresentationCore.dll)
public: [ObsoleteAttribute("BitmapEffects are deprecated and no longer function. Consider using Effects where appropriate instead.")] virtual void PushEffect( BitmapEffect^ effect, BitmapEffectInput^ effectInput ) abstract
Parameters
- effect
-
Type:
System.Windows.Media.Effects::BitmapEffect^
The effect to apply to subsequent drawings.
- effectInput
-
Type:
System.Windows.Media.Effects::BitmapEffectInput^
The area to which the effect is applied, or null if the effect is to be applied to the entire area of subsequent drawings.
The effect is applied to all subsequent drawing operations until it is removed by the Pop command.
The following example demonstrates the PushOpacity, PushEffect, and Pop commands.
.NET Framework
Available since 3.0
Available since 3.0
Show: