- Enclosing class:
- GradientPaint
public static class GradientPaint.Stop
extends Object
A class to describe gradient paint stops.
-
Constructor Summary
Constructors
-
Method Summary
boolean
Standard equals implementation.
double
Standard to string implementation.
-
Constructor Details
-
Stop
public Stop(double anOffset,
Color aColor)
Returns a new stop.
-
Method Details
-
getOffset
public double getOffset()
Returns the offset.
-
getColor
Returns the color.
-
equals
public boolean equals(Object anObj)
Standard equals implementation.
- Overrides:
equals
in class Object
-
toString
Standard to string implementation.
- Overrides:
toString
in class Object