Interface Drawable

    • Method Detail

      • applyTransform

        void applyTransform​(Graphics2D graphics)
        Apply 2-D transforms before drawing this shape. This includes rotation and flipping.
        Parameters:
        graphics - the graphics whos transform matrix will be modified
      • draw

        void draw​(Graphics2D graphics)
        Draw this shape into the supplied canvas
        Parameters:
        graphics - the graphics to draw into
      • drawContent

        void drawContent​(Graphics2D graphics)
        draw any content within this shape (image, text, etc.).
        Parameters:
        graphics - the graphics to draw into