Connecting Tech Pros Worldwide Forums | Help | Site Map

How to draw rectangle on a image on desired location

Newbie
 
Join Date: Jul 2006
Posts: 3
#1: Aug 7 '06
Hello everybody,

I want to notify the user about a particular area on a image by drawing a rectangle around that area.
Can any one suggest me for the same. Please specify the code too.


Thanks in Advance
Tejesht

iam_clint's Avatar
Forum Leader
 
Join Date: Jul 2006
Location: Oklahoma
Posts: 1,076
#2: Aug 8 '06

re: How to draw rectangle on a image on desired location


i would say make the main image a background image in a cell then make your rectangle another image and then use the javascript to place the rectangle on top. using a clear background on the rectangle (.gif)
Newbie
 
Join Date: Nov 2006
Posts: 1
#3: Jan 25 '07

re: How to draw rectangle on a image on desired location


have you seen Open-jACOB Draw2D ?

http://www.openjacob.org/draw2d.html

A javascript lib for vector paint, vision like,.... web applications.

greetings


andreas

P.S. your can paint circles with the draw2d lib too.
Reply