canadabeeau Posted March 13, 2010 Share Posted March 13, 2010 Hi, I am on the lookout for an AJAX (or other) program which will allow a user to draw a rectangle (not individual lines, need to work like Microsoft Word Rectangle Tool) on a grid and then when submitted to code the program know the grid cooridantes of each rectangle eg Retangle 1 starts (0,0) and ends (10,10) and rectangle 2 starts (20, 20) and ends (40, 40). So if anyone can suggest code or give me code they have it would be much appreciated Thanks Quote Link to comment https://forums.phpfreaks.com/topic/195118-drawing/ Share on other sites More sharing options...
canadabeeau Posted March 14, 2010 Author Share Posted March 14, 2010 any one? Quote Link to comment https://forums.phpfreaks.com/topic/195118-drawing/#findComment-1025781 Share on other sites More sharing options...
canadabeeau Posted March 14, 2010 Author Share Posted March 14, 2010 I have found this but I need the ability that when I click outside the box it finalises it and then after that if I click again it starts a new rectangle, also when I click in the box if I press the DEL key it should ask if I wish to delect that one rectangle, also I need it to have every rectangle a different color Quote Link to comment https://forums.phpfreaks.com/topic/195118-drawing/#findComment-1025782 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.