Ext.ux.DrawPoly

Ext.ux.DrawPoly

An extension of "Ext.draw.Component" which shows how to draw polygons. It's just an quick made example which probably needs some optimizations, but I thought that is ok for demonstrating ExtJS's draw capabilities and especially polygons as are the most wanted by many users. I used also Raphael(2.1.0) for some utils methods wich ExtJS doesn't have.
Extension's features:
- draw polygons
- polys resize
- polys selecting and deselecting
- add new vertices, just by clicking on edges
- remove vertices, just by overlapping neighboring vertices
- cancel drawing by right clicking