How to make a shape resizable?

Davide Perini perini.davide at dpsoftware.org
Tue Jul 30 11:02:49 UTC 2024


Hi there,
is there an easy way to make a shape resizable?

Suppose that I draw a rectangle with

gc.fillRect(x, y, z, h);

How am I supposed to make that shape resizable?
I know that I can do it by draw the entire canvas again but it is very 
tricky.

Is there something that may help me doing it?

Thanks
Davide



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/openjfx-discuss/attachments/20240730/75b28ca0/attachment.htm>


More information about the openjfx-discuss mailing list