title: Core graphics draw rectangle with border in one line
body: <p>How can I draw a rectangle with a border in one line? </p>
  
  <p>There are separate methods like:</p>
  
  <pre><code>CGContextStrokeRect(context, someRectangle);
  </code></pre>
  
  <p>and</p>
  
  <pre><code>CGContextFillRect(context, someRectangle);
  </code></pre>
  
  <p>but is there something that does both in one?</p>