Obsolete Members for Canvas
The following members of QML type Canvas are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.
canvasWindow : rect
Holds the current canvas visible window.
By default the canvasWindow size is the same as the Canvas item size with the top-left point as (0, 0).
If the canvasSize is different to the Canvas item size, the Canvas item can display different visible areas by changing the canvas windowSize and/or position.
Holds the canvas rendering tile size.
The Canvas item enters tiled mode by setting canvasSize, tileSize and the canvasWindow. This can improve rendering performance by rendering and caching tiles instead of rendering the whole canvas every time.
Memory will be consumed only by those tiles within the current visible region.
By default the tileSize is the same as the canvasSize.
© 2021 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.