Canvas Rectangle Selector


This demo is a very simple rectangle selector for an HTML5 Canvas, written on top of EaselJS.  I will use this in an future CompGeoJS shapes demo and you may find it useful as well.  The code is authored as a single .js file that you can include in your project and use as illustrated in the demo source code.

Use it and have fun!

Comments are closed.