Implementing shapes that can be dynamically changed
<p>Am I approaching this correctly or is there a better way?</p>

<p>I would like to have various shapes such as lines, rectangles, etc, that a user would be able to re-size, rotate, and otherwise change its parameters by clicking on the shape and dragging.</p>

<p>So far, I've implemented this with shapes by drawing the shape into a view and then adding the view onto a layout.  A user can then drag that view.</p>

<p>But is this the best way? By doing this, I am manipulating the view that contains the shape and not the shape itself.  </p>

<p>Can the shape be re-sized/moved directly through user manipulation?</p>
