Duotone
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.
equals
| Name | Description |
|---|---|
| equals (Object) | Determines whether the specified Duotone is equal to the current Duotone. |
Parameters:
| Name | Type | Description |
|---|---|---|
| obj | Object | The Duotone to compare. |
Returns: boolean
getColor1
| Name | Description |
|---|---|
| getColor1 () | Returns target color format for dark pixels. Read-only IColorFormat. |
Returns: ColorFormat
getColor2
| Name | Description |
|---|---|
| getColor2 () | Returns target color format for light pixels. Read-only IColorFormat. |
Returns: ColorFormat
getEffective
| Name | Description |
|---|---|
| getEffective () | Gets effective Duotone effect data with the inheritance applied. |
Returns: DuotoneEffectiveData
getVersion
| Name | Description |
|---|---|
| getVersion () |
Returns: long
hashCode
| Name | Description |
|---|---|
| hashCode () | Serves as a hash function for a particular type. |
Returns: int