GrayScale

GrayScale class

代表一个灰度效果。将所有效果颜色值转换为对应其亮度的灰色阴影。效果的 alpha (不透明度) 值不受影响。

public sealed class GrayScale : ImageTransformOperation, IGrayScale

Properties

NameDescription
AsIPresentationComponent { get; }允许获取基础 IPresentationComponent 接口。只读 IPresentationComponent

Methods

NameDescription
override Equals(object)确定指定的 GrayScale 是否与当前的 GrayScale 相等。
GetEffective()获取应用继承的有效灰度效果数据。
override GetHashCode()作为特定类型的哈希函数。

See Also