The canvas component erase the draw when I change the background color

I'm developing an app using canvas component to draw, but when i change the background color the previously entered drawing is deleted, any possible solution to this?

Hello Dr Runete

Save every drawn entity to TinyDB, at the time they are drawn. For example:


Entity is a line, X10, Y34, Thickness 2, Colour Blue

This will allow you to change the Canvas back colour, then redraw the entities


Thank you very much friend!!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.