Jump to content

Recommended Posts

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

Link to comment
https://forums.phpfreaks.com/topic/195118-drawing/
Share on other sites

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

Link to comment
https://forums.phpfreaks.com/topic/195118-drawing/#findComment-1025782
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.