Package grad

Class Summary
BasicGradientPainter BasicGradientPainter is an abstract base class that handles the management of GradientSegment management for other GradientPainter classes.
GradientCanvas A subclass of Canvas that automatically maintains a gradient-painted background using a BasicGradientPainter object.
GradientPainter GradientPainter is a class that accepts parameters defining a gradient, and can also paint the gradient into a Shape (actually, into the Shape's bounding box), and can also fill the gradient into an Image or just an array of pixel values.
GradientSegment A portion of a gradient, from a Color c1 to a Color c2, in either RGB space or HSB space.
LinearGradientPainter GradientPainter is a class that accepts parameters defining a gradient, and can also paint the gradient into a Shape (actually, into the Shape's bounding box).