title: Pygame: Drawing a border of a rectangle
body: <p>I am creating a 3d pong game using pygame. I wanted to add a thick black border layer to the rectangle to make it more stylish. Here's what I tried:</p>
  
  <pre><code>pygame.draw.rect(screen, (0,0,255), (x,y,150,150), 0)
  pygame.draw.rect(screen, (0,0,0), (x-1,y-1,155,155), 1)
  pygame.draw.rect(screen, (0,0,0), (x-2,y-2,155,155), 1)
  pygame.draw.rect(screen, (0,0,0), (x-3,y-3,155,155), 1)
  pygame.draw.rect(screen, (0,0,0), (x-4,y-4,155,155), 1)
  </code></pre>
  
  <p>It worked but as the game I am trying to create is a 3d game this method was time consuming. Please tell me if there is any inbuilt method in pygame to draw borders around a rectangle. Sorry for my English.</p>