Interface ShapePanel2D


public interface ShapePanel2D
Interface for panels hosting 2D shapes
Since:
1.0
Version:
1.0
Author:
Andrew Reid
  • Method Summary

    Modifier and Type Method Description
    DrawingEngine getDrawingEngine()
    Returns the drawing engine for this panel
    java.util.ArrayList<PickInfoShape2D> getPickShapes​(java.awt.Point point)
    Searches the currently displayed shapes for an intersection with point.
  • Method Details

    • getPickShapes

      java.util.ArrayList<PickInfoShape2D> getPickShapes​(java.awt.Point point)
      Searches the currently displayed shapes for an intersection with point. Returns a list of objects, sorted by the distance to a shape's nearest vertex.
      Parameters:
      point -
      Returns:
      a list of objects, sorted by the distance to a shape's nearest vertex.
    • getDrawingEngine

      DrawingEngine getDrawingEngine()
      Returns the drawing engine for this panel
      Returns: