PathMove QML Type
パス的位置を移動します。詳細...
| Import Statement: | import QtQuick |
プロパティ
詳細な説明
以下の例では、2本の水平線と、その間に空白を挟んだパスを作成します。3つのセグメントすべて幅は100です:
Path {
startX: 0; startY: 100
PathLine { relativeX: 100; y: 100 }
PathMove { relativeX: 100; y: 100 }
PathLine { relativeX: 100; y: 100 }
}注: PathView に関連付けられたパスでは、PathMoveを使用 しないでください。代わりにPathLine を使用してください。ただし、ShapePath の場合、直線を描画する操作と、何も描画せずにパスの位置を移動する操作を区別することが重要です。
関連項目: Path 、PathQuad 、PathCubic 、PathArc 、PathAngleArc 、PathCurve 、PathSvg 、およびPathLine 。
プロパティのドキュメント
開始位置を基準として、移動先の位置を定義します。
1つの軸に対して相対位置と絶対位置の両方が指定された場合、相対位置が使用されます。
相対位置と絶対位置を混在させることも可能です。たとえば、x軸を相対位置、y軸を絶対位置に設定することは有効です。
移動先の位置を指定します。
© 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.