how to erase lines with wxpython
-
21-09-2019 - |
Question
I'm trying to make a paint tool in wxpython. and i couldn't find a way to make an ( Eraser ) . how can i make an eraser tool - just like the one in windows paint - in wxpython ?
please help .
the idea or small code sample would be very helpful
thanks in advance
Solution
Have you made a Pen tool? Just set its colour to the canvas' background colour ;)
by the way I actively develop my own wxpython painting program that you may want to check out; see http://code.google.com/p/whyteboard/
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow