public class AlphaReplaceEffectiveData extends EffectEffectiveData implements IAlphaReplaceEffectiveData
Immutable object which represents and Alpha Replace effect. Effect alpha (opacity) values are replaced by a fixed alpha.
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Determines whether the specified
AlphaReplaceEffectiveData is equal to the current AlphaReplaceEffectiveData . |
float |
getAlpha()
Returns new alpha value in the interval [0..1]
Read-only
float . |
int |
hashCode()
Serves as a hash function for a particular type.
|
public final float getAlpha()
Returns new alpha value in the interval [0..1]
Read-only float
.
getAlpha
in interface IAlphaReplaceEffectiveData
public boolean equals(java.lang.Object obj)
Determines whether the specified AlphaReplaceEffectiveData
is equal to the current AlphaReplaceEffectiveData
.
equals
in class java.lang.Object
obj
- The AlphaReplaceEffectiveData
to compare.public int hashCode()
Serves as a hash function for a particular type.
hashCode
in class java.lang.Object