Interface ContourPlot.Renderer

    • Method Detail

      • renderFallback

        default void renderFallback​(java.awt.Graphics2D g,
                                    java.awt.Graphics2D p,
                                    int w,
                                    int h)
        Renders this ContourPlot.Renderer's 'scene'. This is the fallback path in case OpenGL based rendering through #render(int, int, int, int) is not available.
        Parameters:
        g - main graphics object for drawing onto the framebuffer
        p - graphics object for drawing onto the picking framebuffer (invisible but used for picking)
        w - width of the current viewport in pixels
        h - height of the current viewport in pixels
      • isEnabled

        boolean isEnabled()
        Whether this renderer is enabled or not. By default a renderer is enabled and will render upon #render(int, int, int, int) or #renderSVG(org.w3c.dom.Document, org.w3c.dom.Element, int, int). When disabled those methods return right away and will not render anything.
        Returns:
        true when active