How to place a image inside a square of canvas?

前端 未结 0 565
终归单人心
终归单人心 2020-11-21 22:08

Well, I have a canvas element on my page where will be a Snake Game. I\'m trying to place one image inside the square of the canvas with the context.drawImage()

相关标签:
回答
  • 消灭零回复
提交回复
热议问题