title: Draw a rectangle using the graphics class, but move the registration point
body: <p>I have the following code to create a Sprite with a rectangle in it:</p>
  
  <pre><code>container = new Sprite();
  container.graphics.beginFill(0x00CCFF, .5);
  container.graphics.lineStyle(1, 0x00CCFF);
  container.graphics.drawRect(rect.x, rect.y, rect.width, rect.height);
  container.graphics.endFill()
  addChild(container);
  </code></pre>
  
  <p>The only thing is, I'd like the registration point to be in the middle (not the top left corner). Is there a way to set up the registration point in the middle of the rectangle, but still have the position of the rectangle be correct?</p>
  
  <p>i.e. <em>not</em> moved over so that the top left corner of the rectangle is in the "middle" of where I want the rectangle to be...</p>