public class AlphaBiLevelEffectiveData extends EffectEffectiveData implements IAlphaBiLevelEffectiveData
Immutable object which represents an Alpha Bi-Level effect. Alpha (Opacity) values less than the threshold are changed to 0 (fully transparent) and alpha values greater than or equal to the threshold are changed to 100% (fully opaque).
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Determines whether the specified
AlphaBiLevelEffectiveData is equal to the current AlphaBiLevelEffectiveData . |
float |
getThreshold()
Returns a threshold.
|
int |
hashCode()
Serves as a hash function for a particular type.
|
public final float getThreshold()
Returns a threshold.
Read-only float
.
getThreshold
in interface IAlphaBiLevelEffectiveData
public boolean equals(java.lang.Object obj)
Determines whether the specified AlphaBiLevelEffectiveData
is equal to the current AlphaBiLevelEffectiveData
.
equals
in class java.lang.Object
obj
- The AlphaBiLevelEffectiveData
to compare.public int hashCode()
Serves as a hash function for a particular type.
hashCode
in class java.lang.Object