https://wikimass.com/canvas/draw-rectangles