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

NameDescription
equals(Object)Determines whether the specified Duotone is equal to the current Duotone.

Parameters:

NameTypeDescription
objObjectThe Duotone to compare.

Result: boolean


getColor1

NameDescription
getColor1()Returns target color format for dark pixels. Read-only IColorFormat.

Result: ColorFormat


getColor2

NameDescription
getColor2()Returns target color format for light pixels. Read-only IColorFormat.

Result: ColorFormat


getEffective

NameDescription
getEffective()Gets effective Duotone effect data with the inheritance applied.

Result: DuotoneEffectiveData


getParent_IPresentationComponent

NameDescription
getParent_IPresentationComponent()

getParent_ISlideComponent

NameDescription
getParent_ISlideComponent()

getParent_Immediate

NameDescription
getParent_Immediate()

getPresentation

NameDescription
getPresentation()

Result: Presentation


getSlide

NameDescription
getSlide()

Result: BaseSlide


getVersion

NameDescription
getVersion()

Result: long


getVersion

NameDescription
getVersion()

Result: long


hashCode

NameDescription
hashCode()Serves as a hash function for a particular type.

Result: int