cytoscape.visual.customgraphic.paint
Class GradientPaintFactory
java.lang.Object
cytoscape.visual.customgraphic.paint.GradientPaintFactory
- All Implemented Interfaces:
- PaintFactory
public class GradientPaintFactory
- extends Object
- implements PaintFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GradientPaintFactory
public GradientPaintFactory(Color c1,
Color c2)
getPaint
public Paint getPaint(Rectangle2D bound)
- Description copied from interface:
PaintFactory
- Create a new Paint object bounded by the given rectangular region.
- Specified by:
getPaint
in interface PaintFactory
- Returns:
Copyright 2010 Cytoscape Consortium. All rights reserved.