Well, for example I have two rectangles drawn on canvas:
const canvas = document.getElementById('canvas')
const context = canvas.getContext('2d');
context.fillRect(20,20,150,100);
context.fillRect(300,300,150,100);
<canvas id="c...
asked by
27.07.2018 / 16:33