PathInterpolated QML Type
リスト内の2つのパス間の補間値としてパスを定義します。詳細...
| Import Statement: | import QtQuick.VectorImage.Helpers |
| Since: | Qt 6.11 |
プロパティ
詳細説明
この項目を使用すると、補間パスを簡単に指定できます。これは、あるパスが徐々に次のパスへと変化するアニメーションパスの表示に役立ちます。
補間の端点は、svgPaths リストプロパティで指定します。この際、PathSvg 項目と同じ構文を使用します。factor プロパティに基づいて、結果として得られるパスは、リスト内のパスnとn+1の間を補間したパスとなります。ここで、nは係数の整数部分です。小数部分は、2つのパス間の補間重みを決定します。
「 Path 」および「PathSvg 」も参照してください 。
プロパティのドキュメント
factor : real
このプロパティは補間係数を保持します。有効な値は[0,svgPaths.size - 1] の範囲に制限されます。
svgPaths : stringlist
このプロパティは、PathSvg のような形式で SVG テキスト文字列として指定されたパスのリストを保持します。
リスト内の2つのパス間の補間値の生成は、それらのパス要素の数と型が同じであるかどうかに依存します。結果として得られるパスには同じ要素が含まれ、座標は2つの元のパス間で線形補間されます。
© 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.