Qt Canvas2D QML types
This module is in technology preview and is subject to change.
This QML module contains a Canvas2D element for Qt Quick. To use the Canvas2D, import the module with the following line:
import QtCanvas2DCanvas2D QML Types
Provides a 2D canvas item enabling drawing via JavaScript | |
Provides 2D context for drawing on a Canvas2D item | |
Provides an opaque Canvas2DGradient interface | |
Provides Path2D object, matching to QCanvasPath |
© 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.