Duotone

Duotone class

表示二色调效果。对于每个像素,通过线性插值结合 Color1 和 Color2 来确定该像素的新颜色。

public sealed class Duotone : ImageTransformOperation, IDuotone

属性

名称描述
AsIPresentationComponent { get; }允许获取基本的 IPresentationComponent 接口。只读 IPresentationComponent
Color1 { get; }返回深色像素的目标颜色格式。只读 IColorFormat
Color2 { get; }返回浅色像素的目标颜色格式。只读 IColorFormat

方法

名称描述
override Equals(object)确定指定的 Duotone 是否等于当前的 Duotone
GetEffective()获取应用继承后的有效二色调效果数据。
override GetHashCode()作为特定类型的哈希函数。

另见