How to make a shape resizable?
Zsolt Kúti
la.tinca at gmail.com
Tue Jul 30 11:45:24 UTC 2024
Hi Davide,
Have you tried setScaleX/Y/Z methods or the corresponding properties?
On Tue, Jul 30, 2024 at 1:04 PM Davide Perini <perini.davide at dpsoftware.org>
wrote:
> 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/0aceecd1/attachment.htm>
More information about the openjfx-discuss
mailing list