Qt Canvas2D QML types
このモジュールはテクノロジープレビュー版であり、仕様が変更される可能性があります。
このモジュールは Qt 6.12 で導入されました。
この QML モジュールには、Qt Quick 用のCanvas2D 要素が含まれています。Canvas2D を使用するには、次の行でモジュールをインポートしてください:
import QtCanvas2DCanvas2D QML タイプ
JavaScript による描画を可能にする 2D キャンバスアイテムを提供します | |
Canvas2Dアイテム上に描画するための2Dコンテキストを提供します | |
QCanvasBoxGradient に対応する boxgradient2d タイプを提供します | |
QCanvasBoxShadow に対応する boxshadow2d タイプを提供します | |
QCanvasConicalGradient と互換性のある conicalgradient2d タイプを提供します | |
QCanvasGridPattern に対応する gridpattern2d タイプを提供します | |
QCanvasImagePattern に対する imagepattern2d 型のマッピングを提供します | |
QCanvasLinearGradient に対して lineargradient2d 型のマッピングを提供します | |
QCanvasPath に対応するペインターパスコンテナである path2d タイプを提供します | |
QCanvasRadialGradient に対応する radialgradient2d 型を提供します。 | |
QTransform に対応する transform2d 型(3x3 の 2D 変換行列)を提供します |
© 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.