ItemSpy QML Type
提供了一种跟踪项目世界大小并将其绑定的方法。更多...
| Import Statement: | import QtQuick.VectorImage.Helpers |
| Since: | Qt 6.11 |
属性
- requiredTextureSize : size
详细说明
此类型由VectorImage 使用。它允许调整后处理效果的纹理大小,使其自动匹配项目子树在屏幕上的显示尺寸。
属性文档
requiredTextureSize : size
渲染此项的宽度和高度时,为避免出现缩放伪影所需的纹理大小。此值已考虑当前变换以及高DPI缩放。
注意: 返回的尺寸 绝不会超过支持的最大纹理尺寸,也不会小于1x1 。
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.