public static void drawShape(int sides, Color color, int length, int width) {
    """
	Makes a cool shape fast
	<div><b>Example: </b> {@code tortoise.drawShape(6,PenColors.Reds.Red, 50, 20)}</div>
	@param sides
	the number of sides
	@param color
	a snazzy line color
	@param length
	the bigger the better
	@param width
	make a thick line - it's cool
    """
    Tortoise.show();
    Tortoise.setSpeed(7);
    Tortoise.getBackgroundWindow().getCanvas().setBackground(PenColors.Yellows.Goldenrod);
    new Text("TKP Java - Make Some Shapes!").setTopLeft(225, 50).addTo(Tortoise.getBackgroundWindow());
    for (int i = 0; i < sides; i++)
    {
      Tortoise.setPenColor(color);
      Tortoise.setPenWidth(width);
      Tortoise.move(length);
      Tortoise.turn(360 / sides);
    }
    VirtualProctor.setClassName("Grace Hopper's Class");
    VirtualProctor.setName("Jean Bartik");
  }
public static void drawShape(int sides, Color color, int length, int width)
  {
    Tortoise.show();
    Tortoise.setSpeed(7);
    Tortoise.getBackgroundWindow().getCanvas().setBackground(PenColors.Yellows.Goldenrod);
    new Text("TKP Java - Make Some Shapes!").setTopLeft(225, 50).addTo(Tortoise.getBackgroundWindow());
    for (int i = 0; i < sides; i++)
    {
      Tortoise.setPenColor(color);
      Tortoise.setPenWidth(width);
      Tortoise.move(length);
      Tortoise.turn(360 / sides);
    }
    VirtualProctor.setClassName("Grace Hopper's Class");
    VirtualProctor.setName("Jean Bartik");
  }
public static void drawShape ( int sides , Color color , int length , int width ) { Tortoise . show ( ) ; Tortoise . setSpeed ( 7 ) ; Tortoise . getBackgroundWindow ( ) . getCanvas ( ) . setBackground ( PenColors . Yellows . Goldenrod ) ; new Text ( "TKP Java - Make Some Shapes!" ) . setTopLeft ( 225 , 50 ) . addTo ( Tortoise . getBackgroundWindow ( ) ) ; for ( int i = 0 ; i < sides ; i ++ ) { Tortoise . setPenColor ( color ) ; Tortoise . setPenWidth ( width ) ; Tortoise . move ( length ) ; Tortoise . turn ( 360 / sides ) ; } VirtualProctor . setClassName ( "Grace Hopper's Class" ) ; VirtualProctor . setName ( "Jean Bartik" ) ; }
Makes a cool shape fast
<div><b>Example: </b> {@code tortoise.drawShape(6,PenColors.Reds.Red, 50, 20)}</div>
@param sides
the number of sides
@param color
a snazzy line color
@param length
the bigger the better
@param width
make a thick line - it's cool
Makes a cool shape fast <div > <b > Example : < / b > {