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 }
}

注 : PathMove は、PathView に関連づけ ら れてい る パス の中では用いてはいけません。 代わりにPathLine を用いて く ださい。し か しShapePath については、 直線を描 く 操作 と 、 何も描かずにパ ス位置を移動 さ せ る 操作 と を区別す る こ と が重要です。

Path,PathQuad,PathCubic,PathArc,PathAngleArc,PathCurve,PathSvg,PathLineも参照。

プロパティ・ドキュメンテーション

x : real

y : real

移動する位置を定義する。

relativeX およびrelativeYも参照のこと


relativeX : real

relativeY : real

開始位置からの相対的な移動位置を定義する。

1つの軸に対して相対位置と絶対終了位置の両方が指定されている場合は、相対位置が使用される。

相対位置 と 絶対位置は混在で き 、 た と えば相対 x と絶対 y を設定する こ と が有効であ る。

x およびyも参照


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