|
Cytoscape 3.1.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ImageCustomGraphicLayer
This interface defines a 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>
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 |
---|
TexturePaint getPaint(Rectangle2D bounds)
TexturePaint
to be used as
an image to fill a node
getPaint
in interface CustomGraphicLayer
bounds
- the bounding box of the CyNode
.
TexturePaint
|
Cytoscape 3.1.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |