com.googlecode.charts4j
Class LinearGradientFill

java.lang.Object
  extended by com.googlecode.charts4j.LinearGradientFill
All Implemented Interfaces:
Fill

public class LinearGradientFill
extends Object

Linear gradient fill. This class is constructed with the Fills.newLinearGradientFill(int, Color, double)

Author:
Julien Chastang (julien.c.chastang at gmail dot com)

Method Summary
 void addColorAndOffset(Color color, double offset)
          Add additional fill gradients.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

addColorAndOffset

public final void addColorAndOffset(Color color,
                                    double offset)
Add additional fill gradients.

Parameters:
color - Additional color. Cannot be null.
offset - Additional offset.