-1

I am creating a canvas in which 4 buttons and one canvas.

All four buttons have different canvas. like rectangle square and circle.

when i click on circle button then in canvas circle show.and after that when i click on rectangle button then in canvas rectangle canvas show.

My main question is when i am clicking on circle button they show circle but when i click on rectangle button that i want to show only rectangle canvas and hide all circle and square button canvas.

so what should i do to show different canvas on different buttons.

Vishu D'cruz
  • 37
  • 1
  • 7

1 Answers1

0

As you haven't shared any snippet, I can only provide you with the ways to do it: How to undraw, hide, remove, or delete an image from an html canvas? Hope it helps you!

Karan Dhir
  • 731
  • 1
  • 6
  • 24