Interface Drawable

All Known Implementing Classes:
DrawAutoShape, DrawBackground, DrawConnectorShape, DrawFreeformShape, DrawGraphicalFrame, DrawGroupShape, DrawMasterSheet, DrawNothing, DrawPictureShape, DrawShape, DrawSheet, DrawSimpleShape, DrawSlide, DrawTableShape, DrawTextBox, DrawTextFragment, DrawTextParagraph, DrawTextShape

public interface Drawable
  • Field Details

  • Method Details

    • 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