Luminance

Inheritance: java.lang.Object, com.aspose.slides.PVIObject, com.aspose.slides.ImageTransformOperation

All Implemented Interfaces: com.aspose.slides.ILuminance, com.aspose.slides.IVisualEffect

public final class Luminance extends ImageTransformOperation implements ILuminance, IVisualEffect

Represents a Luminance effect. Brightness linearly shifts all colors closer to white or black. Contrast scales all colors to be either closer or further apart.

Methods

MethodDescription
getEffective()Gets effective Luminance effect data with the inheritance applied.
equals(Object obj)Determines whether the specified Luminance is equal to the current Luminance.
hashCode()Serves as a hash function for a particular type.

getEffective()

public final ILuminanceEffectiveData getEffective()

Gets effective Luminance effect data with the inheritance applied.

Returns: ILuminanceEffectiveData - A ILuminanceEffectiveData.

equals(Object obj)

public boolean equals(Object obj)

Determines whether the specified Luminance is equal to the current Luminance.

Parameters:

ParameterTypeDescription
objjava.lang.ObjectThe Luminance to compare.

Returns: boolean - true if objects are equal; otherwise, false.

hashCode()

public int hashCode()

Serves as a hash function for a particular type.

Returns: int - A hash code for the current object.