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 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

Method Description
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:

Parameter Type Description
obj java.lang.Object The 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.