Once you get something rendered on a document, you'll want to interact with it.
The following demonstrates drawing something, and then attaching event handlers to it: