Interface PaintedShape
-
- All Superinterfaces:
CustomGraphicLayer
public interface PaintedShape extends CustomGraphicLayer
This interface defines a the information required to construct aShape
that has an arbitrary fillPaint
andStroke
.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>
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Paint
getPaint()
Return thePaint
to fill the shape with.Shape
getShape()
Return theShape
Stroke
getStroke()
Paint
getStrokePaint()
-
Methods inherited from interface org.cytoscape.view.presentation.customgraphics.CustomGraphicLayer
getBounds2D, getPaint, transform
-
-