There are three classic examples about Draw2D. Download the file for more details.