Module omix.api
Package omix.lang

Class Gradient

java.lang.Object
omix.lang.Gradient
All Implemented Interfaces:
Serializable, Brush, Paint
Direct Known Subclasses:
LinearGradient, RadialGradient

public abstract class Gradient
extends Object
implements Brush, Serializable
This class is superclass for all color gradients. A gradient consists of at least two colors which are associated to 0.0 and 1.0. Further color stops can be inserted at values between 0.0 and 1.0. Additionally, a gradient defines the spread of the color along the filled shape.
Author:
Dr. Peter Droste, Omix Visualization
See Also:
Serialized Form