Class RectangleOverlay

    • Constructor Detail

      • RectangleOverlay

        public RectangleOverlay()
    • Method Detail

      • getTopLeft

        protected Point getTopLeft()
        Returns the top-left corner to paint.
        Returns:
        the location, null if none found
      • getBottomRight

        protected Point getBottomRight()
        Returns the bottom-right corner to paint.
        Returns:
        the location, null if none found
      • imageChanged

        public void imageChanged​(ImagePanel.PaintPanel panel)
        Notifies the overlay that the image has changed.
        Parameters:
        panel - the panel this overlay belongs to