Cytoscape 2.8.0 API

cytoscape.visual.customgraphic.paint
Class GradientPaintFactory

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

public class GradientPaintFactory
extends Object
implements PaintFactory


Constructor Summary
GradientPaintFactory(Color c1, Color c2)
           
 
Method Summary
 Paint getPaint(Rectangle2D bound)
          Create a new Paint object bounded by the given rectangular region.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, 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)
Description copied from interface: PaintFactory
Create a new Paint object bounded by the given rectangular region.

Specified by:
getPaint in interface PaintFactory
Returns:

Cytoscape 2.8.0 API

Copyright 2010 Cytoscape Consortium. All rights reserved.