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, transform
TexturePaint getPaint(Rectangle2D bounds)
TexturePaint
to be used as
an image to fill a nodegetPaint
in interface CustomGraphicLayer
bounds
- the bounding box of the CyNode
.TexturePaint
Copyright 2011-2015 Cytoscape Consortium. All rights reserved.