Luca
Luca

Reputation: 237

Maximum dimensions of canvas in JavaFX

Does anyone know the maximum dimensions of a canvas in JavaFX? From some tests it seams to be 8192 (the same of IE) and, by my side, this is strange. Maybe, is it modifiable?

Upvotes: 6

Views: 2456

Answers (1)

jewelsea
jewelsea

Reputation: 159566

Likely it depends upon the maximum texture size for your video card as I believe, using the most common hardware accelerated rendering pipeline, the canvas will ultimately be represented as a texture. (I don't know this exactly, but I think it is a pretty good guess).

You can cross-post to openjfx-dev to get a developer to confirm.

Upvotes: 5

Related Questions