search

Home  >  Q&A  >  body text

javascript - How to clear the last drawn circle in canvas

欧阳克欧阳克2713 days ago1838

reply all(3)I'll reply

  • 我想大声告诉你

    我想大声告诉你2017-06-27 09:20:55

    I solved it myself


    Put the cleared one in front of the drawing and execute it in one step

    reply
    0
  • 欧阳克

    欧阳克2017-06-27 09:20:55

    clearRect() There should be this API in the documentation

    reply
    0
  • 巴扎黑

    巴扎黑2017-06-27 09:20:55

    Don’t continue painting. Will the clear effect be achieved soon? This is how I completed the clearing before

    reply
    0
  • Cancelreply