public interface ImageCustomGraphicLayer extends CustomGraphicLayer
CustomGraphicLayer that
paints an image on a node.Module: presentation-api
To use this in your app, include the following dependency in your POM:
<dependency>
<groupId>org.cytoscape</groupId>
<artifactId>presentation-api</artifactId>
</dependency>| Modifier and Type | Method and Description |
|---|---|
TexturePaint |
getPaint(Rectangle2D bounds)
Return the
TexturePaint to be used as
an image to fill a node |
getBounds2D, transformTexturePaint getPaint(Rectangle2D bounds)
TexturePaint to be used as
an image to fill a nodegetPaint in interface CustomGraphicLayerbounds - the bounding box of the CyNode.TexturePaintCopyright 2011 Cytoscape Consortium. All rights reserved.