Interface PaintListener

    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default void onPaint​(java.awt.Graphics graphics)
      Handles the graphic for the script.
      default void onPaint​(java.awt.Graphics2D graphics)
      Handles the graphic for the script.
    • Method Detail

      • onPaint

        default void onPaint​(java.awt.Graphics graphics)
        Handles the graphic for the script.
        Parameters:
        graphics - The Graphics instance sent from the canvas.
      • onPaint

        default void onPaint​(java.awt.Graphics2D graphics)
        Handles the graphic for the script.
        Parameters:
        graphics - The Graphics instance sent from the canvas.