JavaFX中画布的最大尺寸 [英] Maximum dimensions of canvas in JavaFX

查看:236
本文介绍了JavaFX中画布的最大尺寸的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有谁知道JavaFX中画布的最大尺寸?从一些测试它接缝是8192(IE的相同),在我身边,这是奇怪的。
也许是可修改的吗?

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?

推荐答案

可能是取决于你的视频卡的最大纹理大小, ,使用最常见的硬件加速渲染管道,画布将最终表示为纹理。 (我不知道这个确切,但我认为这是一个很好的猜测)。

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).

你可以交叉发布到 openjfx-dev 让开发人员确认。

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

这篇关于JavaFX中画布的最大尺寸的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆