Qt Canvas2D QML types
Questo modulo è in fase di anteprima tecnica ed è soggetto a modifiche.
Questo modulo è stato introdotto in Qt 6.12.
Questo modulo QML contiene un elemento ` Canvas2D ` per ` Qt Quick`. Per utilizzare ` Canvas2D`, importare il modulo con la seguente riga:
import QtCanvas2DTipi QML di Canvas2D
Fornisce un elemento canvas 2D che consente di disegnare tramite JavaScript | |
Fornisce un contesto 2D per disegnare su un elemento `Canvas2D` | |
Fornisce un tipo `boxgradient2d` corrispondente a `QCanvasBoxGradient` | |
Fornisce il tipo `boxshadow2d` corrispondente a `QCanvasBoxShadow` | |
Fornisce il tipo `conicalgradient2d` corrispondente a `QCanvasConicalGradient` | |
Fornisce il tipo `gridpattern2d` corrispondente a `QCanvasGridPattern` | |
Fornisce la corrispondenza del tipo `imagepattern2d` a `QCanvasImagePattern` | |
Fornisce il tipo `lineargradient2d` corrispondente a `QCanvasLinearGradient` | |
Fornisce il tipo `path2d`, un contenitore di tracciati di disegno corrispondente a `QCanvasPath` | |
Fornisce il tipo `radialgradient2d` corrispondente a `QCanvasRadialGradient` | |
Fornisce il tipo `transform2d`, una matrice di trasformazione 2D 3x3, corrispondente a `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.