Qt Canvas2D QML types
Ce module est en phase d'aperçu technologique et est susceptible d'être modifié.
Ce module a été introduit dans Qt 6.12.
Ce module QML contient un élément « Canvas2D » destiné à « Qt Quick ». Pour utiliser « Canvas2D », importez le module à l'aide de la ligne suivante :
import QtCanvas2DTypes QML Canvas2D
Fournit un élément de canevas 2D permettant de dessiner via JavaScript | |
Fournit un contexte 2D pour dessiner sur un élément Canvas2D | |
Fournit un type `boxgradient2d` correspondant à `QCanvasBoxGradient` | |
Fournit un type `boxshadow2d` correspondant à `QCanvasBoxShadow` | |
Fournit le type `conicalgradient2d` correspondant à `QCanvasConicalGradient` | |
Fournit un type `gridpattern2d` correspondant à `QCanvasGridPattern` | |
Fournit une correspondance de type `imagepattern2d` avec `QCanvasImagePattern` | |
Fournit une correspondance de type `lineargradient2d` avec `QCanvasLinearGradient` | |
Fournit le type `path2d`, un conteneur de chemin de dessin correspondant à `QCanvasPath` | |
Fournit le type « radialgradient2d » correspondant à QCanvasRadialGradient | |
Fournit le type `transform2d`, une matrice de transformation 2D 3x3, correspondant à `QTransform` |
© 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.