Cytoscape 3.0.1 API

org.cytoscape.view.presentation.customgraphics
Interface ImageCustomGraphicLayer

All Superinterfaces:
CustomGraphicLayer

public interface ImageCustomGraphicLayer
extends CustomGraphicLayer

This interface defines a CustomGraphicLayer that paints an image on a node.


Cytoscape Backwards Compatibility (SPI Interface): We expect that this interface will be implemented. Therefore to maintain backwards compatibility this interface will only be modified for major version updates.

Method Summary
 TexturePaint getPaint(Rectangle2D bounds)
          Return the TexturePaint to be used as an image to fill a node
 
Methods inherited from interface org.cytoscape.view.presentation.customgraphics.CustomGraphicLayer
getBounds2D, transform
 

Method Detail

getPaint

TexturePaint getPaint(Rectangle2D bounds)
Return the TexturePaint to be used as an image to fill a node

Specified by:
getPaint in interface CustomGraphicLayer
Parameters:
bounds - the bounding box of the CyNode.
Returns:
the fill TexturePaint

Cytoscape 3.0.1 API

Copyright 2011 Cytoscape Consortium. All rights reserved.