DrawingContext.PushEffect(BitmapEffect, BitmapEffectInput) Metoda
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Uwaga
BitmapEffects are deprecated and no longer function. Consider using Effects where appropriate instead.
Wypycha określony BitmapEffect element do kontekstu rysunku.
public:
abstract void PushEffect(System::Windows::Media::Effects::BitmapEffect ^ effect, System::Windows::Media::Effects::BitmapEffectInput ^ effectInput);
public abstract void PushEffect(System.Windows.Media.Effects.BitmapEffect effect, System.Windows.Media.Effects.BitmapEffectInput effectInput);
[System.Obsolete("BitmapEffects are deprecated and no longer function. Consider using Effects where appropriate instead.")]
public abstract void PushEffect(System.Windows.Media.Effects.BitmapEffect effect, System.Windows.Media.Effects.BitmapEffectInput effectInput);
abstract member PushEffect : System.Windows.Media.Effects.BitmapEffect * System.Windows.Media.Effects.BitmapEffectInput -> unit
[<System.Obsolete("BitmapEffects are deprecated and no longer function. Consider using Effects where appropriate instead.")>]
abstract member PushEffect : System.Windows.Media.Effects.BitmapEffect * System.Windows.Media.Effects.BitmapEffectInput -> unit
Public MustOverride Sub PushEffect (effect As BitmapEffect, effectInput As BitmapEffectInput)
Parametry
- effect
- BitmapEffect
Efekt zastosowania do kolejnych rysunków.
- effectInput
- BitmapEffectInput
Obszar, do którego zastosowano efekt, lub null jeśli efekt ma zostać zastosowany do całego obszaru kolejnych rysunków.
- Atrybuty
Uwagi
Efekt jest stosowany do wszystkich kolejnych operacji rysowania, dopóki nie zostanie usunięty przez Pop polecenie .