- Enclosing class:
- Graph
public static interface Graph.Drawable
Interface for objects that have a corresponding shape.
Objects implementing this interface are assumed to be
represented graphically by shapes, but are more conveniently
described in some other way.
-
Method Summary
-
Method Details
-
toShape
Shape toShape()Get the shape of the object.- Returns:
- the shape of the object in graph coordinate space
-