public class EdgeShapeInfo extends ShapeDebugFrame.Line2DShapeInfo
name| Constructor and Description |
|---|
EdgeShapeInfo(java.util.Collection<Edge> edges,
java.lang.String name,
java.awt.Color colour,
boolean thick,
boolean arrow)
Create a new EdgeShapeInfo.
|
EdgeShapeInfo(Edge edge,
java.lang.String name,
java.awt.Color colour,
boolean thick,
boolean arrow)
Create a new EdgeShapeInfo.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getObject()
Get the object this shape represents.
|
getBoundsPoint, getBoundsShape, paint, paintLegendgetNamepublic EdgeShapeInfo(Edge edge, java.lang.String name, java.awt.Color colour, boolean thick, boolean arrow)
edge - The edge to draw.name - The name of the edge.colour - The colour to draw the edge.thick - Whether to draw the edge thick or not.arrow - Whether to draw the edge's direction or not.public EdgeShapeInfo(java.util.Collection<Edge> edges, java.lang.String name, java.awt.Color colour, boolean thick, boolean arrow)
edges - The edges to draw.name - The name of the edge.colour - The colour to draw the edge.thick - Whether to draw the edge thick or not.arrow - Whether to draw the edge's direction or not.public java.lang.Object getObject()
ShapeDebugFrame.ShapeInfogetObject in class ShapeDebugFrame.ShapeInfo