System.Windows.Media.Effects Namespace

提供一些类型,这些类型可用于将视觉效果应用到位图图像。 Provides types that can be used to apply visual effects to bitmap images.

Classes

BevelBitmapEffect

注意:此 API 现已过时。Note: This API is now obsolete. 未过时的替代项为 EffectThe non-obsolete alternative is Effect. 创建凹凸效果,根据指定的曲线提升图像表面。Creates a bevel which raises the surface of the image according to a specified curve.

BitmapEffect

注意:此 API 现已过时。Note: This API is now obsolete. 未过时的替代项为 EffectThe non-obsolete alternative is Effect.

定义位图效果。Defines a bitmap effect. 派生类将定义可应用到 Visual 对象(如 ButtonImage)的效果。Derived classes define effects that can be applied to a Visual object, such as a Button or an Image.

BitmapEffectCollection

注意:此 API 现已过时。Note: This API is now obsolete. 未过时的替代项为 EffectThe non-obsolete alternative is Effect. 表示 BitmapEffect 对象集合。Represents a collection of BitmapEffect objects. 该集合用作 BitmapEffectGroup 的一部分,将多个位图效果应用到视觉内容。This collection is used as part of a BitmapEffectGroup to apply multiple bitmap effects to visual content.

BitmapEffectGroup

注意:此 API 现已过时。Note: This API is now obsolete. 未过时的替代项为 EffectThe non-obsolete alternative is Effect. 表示用于将多个效果应用于可见对象的一组 BitmapEffect 对象。Represents a group of BitmapEffect objects that is used to apply multiple effects to a visible object.

BitmapEffectInput

注意:此 API 现已过时。Note: This API is now obsolete. 未过时的替代项为 EffectThe non-obsolete alternative is Effect. BitmapEffect 属性中给定的 BitmapEffect 应用于可视对象的指定区域。Applies the BitmapEffect given in the BitmapEffect property to a specified region of the visual object.

BlurBitmapEffect

注意:此 API 现已过时。Note: This API is now obsolete. 未过时的替代项为 BlurEffectThe 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

注意:此 API 现已过时。Note: This API is now obsolete. 未过时的替代项为 DropShadowEffectThe 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

注意:此 API 现已过时。Note: This API is now obsolete. 未过时的替代项为 EffectThe 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

注意:此 API 现已过时。Note: This API is now obsolete. 未过时的替代项为 BlurEffectThe non-obsolete alternative is BlurEffect. 围绕对象或颜色区域创建颜色光环。Creates a halo of color around objects or areas of color.

PixelShader

提供围绕高级着色语言 (HLSL) 像素着色器的托管包装。Provides a managed wrapper around a High Level Shading Language (HLSL) pixel shader.

ShaderEffect

通过使用 PixelShader 提供自定义位图效果。Provides a custom bitmap effect by using a PixelShader.

Structs

BitmapEffectCollection.Enumerator

注意:此 API 现已过时。Note: This API is now obsolete. 未过时的替代项为 EffectThe non-obsolete alternative is Effect. 枚举 BitmapEffectCollection 中的 BitmapEffect 对象。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

指示在自定义着色器效果中对 Brush 值的依赖项属性进行取样的方式。Indicates the way Brush-valued dependency properties are sampled in a custom shader effect.

ShaderRenderMode

指示用于在软件中呈现 ShaderEffect 的策略。Indicates the policy for rendering a ShaderEffect in software.