Class DrawSimpleShape

java.lang.Object
org.apache.poi.sl.draw.DrawShape
org.apache.poi.sl.draw.DrawSimpleShape
All Implemented Interfaces:
Drawable
Direct Known Subclasses:
DrawConnectorShape, DrawPictureShape, DrawTextShape

public class DrawSimpleShape extends DrawShape
  • Constructor Details

    • DrawSimpleShape

      public DrawSimpleShape(SimpleShape<?,?> shape)
  • Method Details

    • draw

      public void draw(Graphics2D graphics)
      Description copied from interface: Drawable
      Draw this shape into the supplied canvas
      Specified by:
      draw in interface Drawable
      Overrides:
      draw in class DrawShape
      Parameters:
      graphics - the graphics to draw into
    • getStroke

      public BasicStroke getStroke()