Interface Drawable

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void draw​(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D area)
      Draws the object.
    • Method Detail

      • draw

        void draw​(java.awt.Graphics2D g2,
                  java.awt.geom.Rectangle2D area)
        Draws the object.
        Parameters:
        g2 - the graphics device.
        area - the area inside which the object should be drawn.