public class BiLevelEffectiveData extends EffectEffectiveData implements IBiLevelEffectiveData
Immutable object which represents a Bi-Level (black/white) effect. Input colors whose luminance is less than the specified threshold value are changed to black. Input colors whose luminance are greater than or equal the specified value are set to white. The alpha effect values are unaffected by this effect.
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Determines whether the specified
BiLevelEffectiveData is equal to the current BiLevelEffectiveData . |
float |
getThreshold()
Returns the threshold value.
|
int |
hashCode()
Serves as a hash function for a particular type.
|
public final float getThreshold()
Returns the threshold value.
Read-only float
.
getThreshold
in interface IBiLevelEffectiveData
public boolean equals(java.lang.Object obj)
Determines whether the specified BiLevelEffectiveData
is equal to the current BiLevelEffectiveData
.
equals
in class java.lang.Object
obj
- The BiLevelEffectiveData
to compare.public int hashCode()
Serves as a hash function for a particular type.
hashCode
in class java.lang.Object