Optional
width: numberthe width. Ignored if not specified. Notice that it accepts only integer (unlike other DOM element)
Optional
height: numberthe height. Ignored if not specified. Notice that it accepts only integer (unlike other DOM element)
5.0.2
Creates a canvas element.
For example, ```ts var main = jq("#main"); main.append(canvas); var canvas = zk.canvas.Canvas.create(main.clientWidth, main.clientHeight); var ctx = canvas.getContext("2d"); ctx.fillStyle = "rgb(200,0,0)"; ctx.fillRect (10, 10, 55, 50);
ctx.fillStyle = "rgba(0, 0, 200, 0.5)"; ctx.fillRect (30, 30, 255, 50); ```