DrawingContext.PushEffect(BitmapEffect, BitmapEffectInput) Yöntem

Tanım

Dikkat

BitmapEffects are deprecated and no longer function. Consider using Effects where appropriate instead.

Belirtilen BitmapEffect öğesini çizim bağlamına iletir.

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)

Parametreler

effect
BitmapEffect

Sonraki çizimlere uygulanacak etki.

effectInput
BitmapEffectInput

Efektin uygulandığı alan veya null efektin sonraki çizimlerin tüm alanına uygulanacağı alan.

Öznitelikler

Açıklamalar

Etki, komutu tarafından kaldırılana kadar sonraki tüm çizim işlemlerine Pop uygulanır.

Şunlara uygulanır