public class HSLEffectiveData extends EffectEffectiveData implements IHSLEffectiveData
Represents a Hue/Saturation/Luminance effect. The hue, saturation, and luminance may each be adjusted relative to its current value.
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Determines whether the specified
HSLEffectiveData is equal to the current HSLEffectiveData . |
float |
getHue()
Returns hue percentage.
|
float |
getLuminance()
Returns luminance percentage.
|
float |
getSaturation()
Returns saturation percentage.
|
int |
hashCode()
Serves as a hash function for a particular type.
|
public final float getHue()
Returns hue percentage.
Read-only float
.
getHue
in interface IHSLEffectiveData
public final float getSaturation()
Returns saturation percentage.
Read-only float
.
getSaturation
in interface IHSLEffectiveData
public final float getLuminance()
Returns luminance percentage.
Read-only float
.
getLuminance
in interface IHSLEffectiveData
public boolean equals(java.lang.Object obj)
Determines whether the specified HSLEffectiveData
is equal to the current HSLEffectiveData
.
equals
in class java.lang.Object
obj
- The HSLEffectiveData
to compare.public int hashCode()
Serves as a hash function for a particular type.
hashCode
in class java.lang.Object