|
Cytoscape 3.1.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CustomGraphicLayer
This interface defines a the mimimum interface to
add a custom graphics to a CyNode.
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 | |
|---|---|
Rectangle2D |
getBounds2D()
Return the bounds of the area covered by this CustomGraphicLayer as a Rectangle2D |
Paint |
getPaint(Rectangle2D bounds)
Return the Paint to be used to
fill the Shape. |
CustomGraphicLayer |
transform(AffineTransform xform)
Return a new CustomGraphicLayer that has been transformed by the provided AffineTransform. |
| Method Detail |
|---|
Rectangle2D getBounds2D()
Rectangle2D
Rectangle2DPaint getPaint(Rectangle2D bounds)
Paint to be used to
fill the Shape.
bounds - the bounding box of the CyNode.
PaintCustomGraphicLayer transform(AffineTransform xform)
AffineTransform.
xform - transform to perform on the shape
|
Cytoscape 3.1.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||