DrawingContext.PushEffect(BitmapEffect, BitmapEffectInput) Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Perhatian
BitmapEffects are deprecated and no longer function. Consider using Effects where appropriate instead.
Mendorong yang ditentukan BitmapEffect ke konteks gambar.
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)
Parameter
- effect
- BitmapEffect
Efek yang akan diterapkan pada gambar berikutnya.
- effectInput
- BitmapEffectInput
Area tempat efek diterapkan, atau null jika efeknya akan diterapkan ke seluruh area gambar berikutnya.
- Atribut
Keterangan
Efek diterapkan ke semua operasi gambar berikutnya hingga dihapus oleh Pop perintah.