<div dir="ltr">Hi Davide,<div><br></div><div>Have you tried setScaleX/Y/Z methods or the corresponding properties?</div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jul 30, 2024 at 1:04 PM Davide Perini <<a href="mailto:perini.davide@dpsoftware.org">perini.davide@dpsoftware.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><u></u>

  

    
  
  <div>
    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:rgb(30,31,34);color:rgb(188,190,196)">
      <pre style="font-family:"JetBrains Mono",monospace"><span style="color:rgb(199,125,187)">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>
  </div>

</blockquote></div>