This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Draw Rectangle dotted line the selected Image area Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Draw Rectangle dotted line the selected Image area" Watch "Draw Rectangle dotted line the selected Image area" New topic
Author

Draw Rectangle dotted line the selected Image area

Rodricks george
Ranch Hand

Joined: Sep 10, 2006
Posts: 97
Sir,

I have an image in jsp. I am doing cropping function on images. When i select the images i want to show some dotted rectangle lines so that user will come to know image is selecting... How can i draw the line over the images.

-Regs,

Rodricks
Valentin Crettaz
Gold Digger
Sheriff

Joined: Aug 26, 2001
Posts: 7610
You might want to have a look at the Canvas API
http://www.coderanch.com/t/120603/HTML-JavaScript/Drawing-Real-time-charts


SCJP 5, SCJD, SCBCD, SCWCD, SCDJWS, IBM XML
[Blog] [Blogroll] [My Reviews] My Linked In
Rodricks george
Ranch Hand

Joined: Sep 10, 2006
Posts: 97
Thank you sir!

-Rodricks
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Draw Rectangle dotted line the selected Image area
 
It's not a secret anymore!