Cytoscape 2.8.0-alpha1 (c) 2006,2007 ISB, MSKCC, UCSD

cytoscape.visual.customgraphic.paint
Class GradientPaintFactory

java.lang.Object
  extended by cytoscape.visual.customgraphic.paint.GradientPaintFactory
All Implemented Interfaces:
cytoscape.render.stateful.PaintFactory

public class GradientPaintFactory
extends Object
implements cytoscape.render.stateful.PaintFactory


Constructor Summary
GradientPaintFactory(Color c1, Color c2)
           
 
Method Summary
 Paint getPaint(Rectangle2D bound)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GradientPaintFactory

public GradientPaintFactory(Color c1,
                            Color c2)
Method Detail

getPaint

public Paint getPaint(Rectangle2D bound)
Specified by:
getPaint in interface cytoscape.render.stateful.PaintFactory

www.cytoscape.org