Duotone
Contents
[
Hide
]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.
public sealed class Duotone : ImageTransformOperation, IDuotone
Properties
| Name | Description |
|---|---|
| AsIPresentationComponent { get; } | Allows to get base IPresentationComponent interface. Read-only IPresentationComponent. |
| Color1 { get; } | Returns target color format for dark pixels. Read-only IColorFormat. |
| Color2 { get; } | Returns target color format for light pixels. Read-only IColorFormat. |
Methods
| Name | Description |
|---|---|
| override Equals(object) | Determines whether the specified Duotone is equal to the current Duotone. |
| GetEffective() | Gets effective Duotone effect data with the inheritance applied. |
| override GetHashCode() | Serves as a hash function for a particular type. |
See Also
- class ImageTransformOperation
- interface IDuotone
- namespace Aspose.Slides.Effects
- assembly Aspose.Slides