Watch a demo of different values of the transform() method.
Or click a specific value to see the result:
let c = document.getElementById('myCanvas'); let ctx = c.getContext('2d'); ctx.transform(0.1,0,0,1,0,0); ctx.fillStyle='lightblue'; ctx.fillRect(20,20,250,100); ctx.fillStyle='red'; ctx.font='30px Arial'; ctx.fillText('Transform', 60,80);