public class ColorChangeEffectiveData extends EffectEffectiveData implements IColorChangeEffectiveData
Immutable object which represents a Color Change effect. Instances of FromColor are replaced with instances of ToColor.
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
Determines whether the specified
ColorChangeEffectiveData is equal to the current ColorChangeEffectiveData. |
java.lang.Integer |
getFromColor()
Returns color which will be replaced.
|
java.lang.Integer |
getToColor()
Returns color which will replace.
|
boolean |
getUseAlpha()
Returns a boolean value which determines if alpha component should be used.
|
int |
hashCode()
Serves as a hash function for a particular type.
|
public final java.lang.Integer getFromColor()
Returns color which will be replaced.
Read-only Integer.
getFromColor in interface IColorChangeEffectiveDatapublic final java.lang.Integer getToColor()
Returns color which will replace.
Read-only Integer.
getToColor in interface IColorChangeEffectiveDatapublic final boolean getUseAlpha()
Returns a boolean value which determines if alpha component should be used.
Read-only boolean.
getUseAlpha in interface IColorChangeEffectiveDatapublic boolean equals(java.lang.Object obj)
Determines whether the specified ColorChangeEffectiveData is equal to the current ColorChangeEffectiveData.
equals in class java.lang.Objectobj - The ColorChangeEffectiveData to compare.public int hashCode()
Serves as a hash function for a particular type.
hashCode in class java.lang.Object