Class GraphShape

java.lang.Object
mgui.interfaces.AbstractInterfaceObject
mgui.interfaces.graphs.shapes.GraphShape
All Implemented Interfaces:
edu.uci.ics.jung.visualization.VisualizationServer.Paintable, InterfaceObject, NamedObject, TreeObject, CleanableObject
Direct Known Subclasses:
GraphImage

public abstract class GraphShape
extends AbstractInterfaceObject
implements edu.uci.ics.jung.visualization.VisualizationServer.Paintable
Abstract class for objects which implement VisualizationServer.Paintable; these can be used to render shapes on a graph display window. Shape coordinates are either relative to the screen, or to the graph layout; this is specified by the 'IsScreen' attribute.
Since:
1.0
Version:
1.0
Author:
Andrew Reid
  • Constructor Details

    • GraphShape

      public GraphShape()
  • Method Details

    • paint

      public void paint​(java.awt.Graphics g)
      Specified by:
      paint in interface edu.uci.ics.jung.visualization.VisualizationServer.Paintable
    • useTransform

      public boolean useTransform()
      Specified by:
      useTransform in interface edu.uci.ics.jung.visualization.VisualizationServer.Paintable
    • getDrawingEngine

      public DrawingEngine getDrawingEngine()