Stretch an image to a quadrilateral in canvas?

后端 未结 0 1587
伪装坚强ぢ
伪装坚强ぢ 2021-02-15 12:20

Is it possible to draw an image to an arbitrary quadrilateral in the canvas 2d API?

I see drawImage lets me draw to a rectangle.

ctx.drawImage(someImage, x         


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