<!DOCTYPE html>
<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
    Hi there,<br>
    is there an easy way to make a shape resizable?<br>
    <br>
    Suppose that I draw a rectangle with<br>
    <div style="background-color:#1e1f22;color:#bcbec4">
      <pre
      style="font-family:'JetBrains Mono',monospace;font-size:9,8pt;"><span
      style="color:#c77dbb;">gc</span>.fillRect(x, y, z, h);</pre>
    </div>
    How am I supposed to make that shape resizable?<br>
    I know that I can do it by draw the entire canvas again but it is
    very tricky.<br>
    <br>
    Is there something that may help me doing it?<br>
    <br>
    Thanks<br>
    Davide<br>
    <br>
    <br>
    <br>
    <br>
  </body>
</html>