public class LuminanceEffectiveData extends EffectEffectiveData implements ILuminanceEffectiveData
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.
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Determines whether the specified
LuminanceEffectiveData is equal to the current LuminanceEffectiveData . |
float |
getBrightness()
Brightness.
|
float |
getContrast()
Contrast.
|
int |
hashCode()
Serves as a hash function for a particular type.
|
public final float getBrightness()
Brightness.
Read-only float
.
getBrightness
in interface ILuminanceEffectiveData
public final float getContrast()
Contrast.
Read-only float
.
getContrast
in interface ILuminanceEffectiveData
public boolean equals(java.lang.Object obj)
Determines whether the specified LuminanceEffectiveData
is equal to the current LuminanceEffectiveData
.
equals
in class java.lang.Object
obj
- The LuminanceEffectiveData
to compare.public int hashCode()
Serves as a hash function for a particular type.
hashCode
in class java.lang.Object