DrawingContext.PushEffect(BitmapEffect, BitmapEffectInput) Método

Definição

Atenção

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

Empurra o especificado BitmapEffect para o contexto de desenho.

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)

Parâmetros

effect
BitmapEffect

O efeito aplica-se aos desenhos subsequentes.

effectInput
BitmapEffectInput

A área a que o efeito é aplicado, ou null se o efeito for aplicado a toda a área dos desenhos subsequentes.

Atributos

Observações

O efeito é aplicado a todas as operações de desenho subsequentes até ser removido pelo Pop comando.

Aplica-se a