|
Cytoscape 3.1.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PaintedShape
This interface defines a the information required to
construct a Shape that has an arbitrary
fill Paint and Stroke.
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 | |
|---|---|
Paint |
getPaint()
Return the Paint to fill the shape with. |
Shape |
getShape()
Return the Shape |
Stroke |
getStroke()
Return the Stroke to use to outline the
Shape provided by the getShape() method above. |
Paint |
getStrokePaint()
Return the Paint to use to color the
Stroke returned by getStroke(). |
| Methods inherited from interface org.cytoscape.view.presentation.customgraphics.CustomGraphicLayer |
|---|
getBounds2D, getPaint, transform |
| Method Detail |
|---|
Shape getShape()
Shape
ShapePaint getPaint()
Paint to fill the shape with. This
is a convenience method that is essentially the same as calling
getPaint(getShape().getBounds());
PaintStroke getStroke()
Stroke to use to outline the
Shape provided by the getShape() method above.
Stroke to use.Paint getStrokePaint()
Paint to use to color the
Stroke returned by getStroke().
Paint
|
Cytoscape 3.1.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||