Class GeometryExample.Display

    • Constructor Detail

      • Display

        public Display()
        Simple constructor.
    • Method Detail

      • getMainPanel

        public Component getMainPanel()
        Returns the main panel which should be printed by the screenshot action.

        By default, it returns the content pane of this frame, but can be overriden in case the frame has a global scroll pane which would cut off any offscreen content.

        Overrides:
        getMainPanel in class ExampleUtils.ExampleFrame
        Returns:
        the main panel to print
      • paintConvexHull

        public void paintConvexHull()
        Paint a convex hull.