Analysis of KonvaJS Principle

Preface Everyone who has used Canvas knows that it has a lot of APIs, and it's also very difficult to use. For example, if I want to draw a circle, I need to adjust a bunch of APIs, which is not friendly for development. const canvas = document.querySelector('canvas'); const context = canvas.getContext('2d'); // Set Font Style context.font = ...

Posted on Sun, 10 Oct 2021 12:56:51 -0400 by coily