Package bdv.viewer

Interface OverlayRenderer

    • Method Detail

      • drawOverlays

        void drawOverlays​(Graphics g)
        Render overlays.
      • setCanvasSize

        default void setCanvasSize​(int width,
                                   int height)
        This is called, when the screen size of the canvas (the component displaying the image and generating mouse events) changes. This can be used to determine scale of overlay or screen coordinates relative to the border.
        Parameters:
        width - the new canvas width.
        height - the new canvas height.