Cytoscape 2.8.0 API

cytoscape.visual.customgraphic.paint
Class ColorPaintFactory

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

public class ColorPaintFactory
extends Object
implements PaintFactory


Constructor Summary
ColorPaintFactory(Color color)
           
 
Method Summary
 Color getColor()
           
 Paint getPaint(Rectangle2D arg0)
          Create a new Paint object bounded by the given rectangular region.
 void setColor(Color color)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColorPaintFactory

public ColorPaintFactory(Color color)
Method Detail

setColor

public void setColor(Color color)

getColor

public Color getColor()

getPaint

public Paint getPaint(Rectangle2D arg0)
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.