PathInterpolated QML Type
リスト内の2つのパスの間を補間した値としてパスを定義する。詳細...
| Import Statement: | import QtQuick.VectorImage.Helpers |
| Since: | Qt 6.11 |
プロパティ
詳細説明
この項目は、補間パスを指定する簡単な方法を提供する。これは、あるパスが次のパスに徐々にモーフィングされるアニメーションパスを表示するのに便利である。
補間終点は、PathSvg 項目と同じ構文を使用して、svgPaths リストプロパティで指定する。factor プロパティに基づいて、結果のパスはリスト内のパスnとn+1 の間の補間となります。分数部は、2つの間の補間重みを決定します。
プロパティのドキュメント
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.