public class GradientStopEffectiveData extends java.lang.Object implements IGradientStopEffectiveData
Immutable object which represents a gradient stop.
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Determines whether the specified
GradientStopEffectiveData is equal to the current GradientStopEffectiveData . |
java.awt.Color |
getColor()
Returns the color of a gradient stop.
|
float |
getPosition()
Returns the position (0..1) of a gradient stop.
|
int |
hashCode() |
public final float getPosition()
Returns the position (0..1) of a gradient stop.
Read-only float
.
getPosition
in interface IGradientStopEffectiveData
public final java.awt.Color getColor()
Returns the color of a gradient stop.
Read-only Color
.
getColor
in interface IGradientStopEffectiveData
public boolean equals(java.lang.Object obj)
Determines whether the specified GradientStopEffectiveData
is equal to the current GradientStopEffectiveData
.
equals
in class java.lang.Object
obj
- The GradientStopEffectiveData
to compare.public int hashCode()
hashCode
in class java.lang.Object