Maximum dimensions of canvas in JavaFX

2019-04-07 19:35发布

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?

1条回答
趁早两清
2楼-- · 2019-04-07 20:19

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.

查看更多
登录 后发表回答