Duotone Class

Represents a Duotone effect. For each pixel, combines Color1 and Color2 through a linear interpolation to determine the new color for that pixel.
Inheritance Hierarchy

Namespace:  Aspose.Slides.Effects
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 20.10.0.0 (20.10)
Syntax
public class Duotone : ImageTransformOperation, IDuotone, 
	IImageTransformOperation

The Duotone type exposes the following members.

Properties
  NameDescription
Public propertyColor1
Returns target color format for dark pixels. Read-only IColorFormat.
Public propertyColor2
Returns target color format for light pixels. Read-only IColorFormat.
Methods
  NameDescription
Public methodEquals
Determines whether the specified Duotone is equal to the current Duotone.
(Overrides PVIObjectEquals(Object).)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Overrides PVIObjectGetHashCode.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
See Also