Maximum size of a canvas?

Jeff Hain jeffhain at
Fri May 15 14:15:26 UTC 2015


>The report can be zoomed in which basically means
>that I recreate the canvas with a bigger size (the canvas is inside a

Instead of creating an eventually (and quadratically) huge canvas,
you could try using Canvas.getGraphicsContext().scale(2 double)/translate(2 double),
and "bind" the scroll bars to the {canvas dimensions, applied transform} data.


More information about the openjfx-dev mailing list