Interface RenderLifecycle

    • Method Detail

      • preRender

        default void preRender​(java.awt.Graphics g)
        Runs before everything else; the image in CanvasPanel will reflect your changes.
        Parameters:
        g - The graphics context
      • postRender

        default void postRender​(java.awt.Graphics g)
        Runs after everything else; the image in CanvasPanel will reflect your changes.
        Parameters:
        g - The graphics context
      • renderEnd

        default void renderEnd​(java.awt.Graphics g)
        Runs after everything else; the image in CanvasPanel will not reflect your changes.
        Parameters:
        g - The graphics context
      • renderStart

        default void renderStart​(java.awt.Graphics g)
        Runs before everything else; the image in CanvasPanel will not reflect your changes.
        Parameters:
        g - The graphics context
      • onResize

        default void onResize​(CanvasPanel canvas,
                              java.awt.event.ComponentEvent e)