Interface Drawable

    • Method Detail

      • draw

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