Lezen in het Engels Bewerken

Delen via


System.Windows.Media.Effects Namespace

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Provides types that can be used to apply visual effects to bitmap images.

Classes

BevelBitmapEffect

Note: This API is now obsolete. The non-obsolete alternative is Effect. Creates a bevel which raises the surface of the image according to a specified curve.

BitmapEffect

Note: This API is now obsolete. The non-obsolete alternative is Effect.

Defines a bitmap effect. Derived classes define effects that can be applied to a Visual object, such as a Button or an Image.

BitmapEffectCollection

Note: This API is now obsolete. The non-obsolete alternative is Effect. Represents a collection of BitmapEffect objects. This collection is used as part of a BitmapEffectGroup to apply multiple bitmap effects to visual content.

BitmapEffectGroup

Note: This API is now obsolete. The non-obsolete alternative is Effect. Represents a group of BitmapEffect objects that is used to apply multiple effects to a visible object.

BitmapEffectInput

Note: This API is now obsolete. The non-obsolete alternative is Effect. Applies the BitmapEffect given in the BitmapEffect property to a specified region of the visual object.

BlurBitmapEffect

Note: This API is now obsolete. The non-obsolete alternative is BlurEffect. Simulates looking at an object through an out-of-focus lens.

BlurEffect

A bitmap effect that blurs the target texture.

DropShadowBitmapEffect

Note: This API is now obsolete. The non-obsolete alternative is DropShadowEffect. Applies a shadow behind a visual object at a slight offset. The offset is determined by mimicking a casting shadow from an imaginary light source.

DropShadowEffect

A bitmap effect that paints a drop shadow around the target texture.

Effect

Provides a custom bitmap effect.

EmbossBitmapEffect

Note: This API is now obsolete. The non-obsolete alternative is Effect. Creates a bump mapping of the visual object to give the impression of depth and texture from an artificial light source.

OuterGlowBitmapEffect

Note: This API is now obsolete. The non-obsolete alternative is BlurEffect. Creates a halo of color around objects or areas of color.

PixelShader

Provides a managed wrapper around a High Level Shading Language (HLSL) pixel shader.

ShaderEffect

Provides a custom bitmap effect by using a PixelShader.

Structs

BitmapEffectCollection.Enumerator

Note: This API is now obsolete. The non-obsolete alternative is Effect. Enumerates BitmapEffect objects in a BitmapEffectCollection.

Enums

EdgeProfile

Specifies the type of curve to apply to the edge of a bitmap.

KernelType

Describes the kernel used to create the effect.

RenderingBias

Indicates whether the system renders an effect with emphasis on speed or quality.

SamplingMode

Indicates the way Brush-valued dependency properties are sampled in a custom shader effect.

ShaderRenderMode

Indicates the policy for rendering a ShaderEffect in software.