code: public void drawRect(float x1, float y1, float width, float height) {
  		float lineWidth = getLineWidth();
  		
  		drawLine(x1,y1,x1+width,y1);
  		drawLine(x1+width,y1,x1+width,y1+height);
  		drawLine(x1+width,y1+height,x1,y1+height);
  		drawLine(x1,y1+height,x1,y1);
  	}
docs: Draw a rectangle to the canvas in the current colour
  
  @param x1
  The x coordinate of the top left corner
  @param y1
  The y coordinate of the top left corner
  @param width
  The width of the rectangle to draw
  @param height
  The height of the rectangle to draw