Class DrawSimpleShape

    • Constructor Detail

      • DrawSimpleShape

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

      • draw

        public void draw​(java.awt.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 java.awt.BasicStroke getStroke()