このページでは

Qt Quick 例 - シェイプ

Qt Quick におけるシェイプ項目の使用例。

トラ、テキスト、グラデーション、角丸長方形、塗り、線などを含む形状のデモ集

この例は、Qt Quick におけるShape 型の使用方法を示しています。Shapesを使用すると、Qt Quick のシーン内で、ストロークや塗りつぶしのある線、曲線、円弧を効率的に描画できます。

例の動作確認

以下の手順でサンプルを実行できます。

code.qt.io のサンプルプロジェクト

© 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.