0

Is there a way to add pentool(like in paint brush) to draw on an image in html?

Just curious if I can add function like paint brush to draw something on image , if it's possible please point me in right direction. Thank you in advance.

21st Mar 2019, 4:42 AM
Himanshu
Himanshu - avatar
2 Answers
+ 2
Yes it is possible. One possible way is to use a canvas element and then use the mouse events for draging the mousebutton over the canvas. But you need to implement the drawing on your own.
21st Mar 2019, 7:40 AM
Dragonxiv
Dragonxiv - avatar
0
Thanks for the answer, I will try it.
21st Mar 2019, 11:20 AM
Himanshu
Himanshu - avatar