DrawingContext.PushEffect(BitmapEffect, BitmapEffectInput) Metodo

Definizione

Attenzione

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

Inserisce l'oggetto specificato BitmapEffect nel contesto di disegno.

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)

Parametri

effect
BitmapEffect

Effetto da applicare ai disegni successivi.

effectInput
BitmapEffectInput

Area a cui viene applicato l'effetto o null se l'effetto deve essere applicato all'intera area dei disegni successivi.

Attributi

Commenti

L'effetto viene applicato a tutte le operazioni di disegno successive fino a quando non viene rimosso dal Pop comando .

Si applica a