PathMove QML Type

경로의 위치를 이동합니다. 더 보기...

Import Statement: import QtQuick

속성

자세한 설명

아래 예는 두 개의 수평선으로 구성된 경로와 그 사이에 빈 공간이 있는 경로를 만듭니다. 세 세그먼트의 너비는 모두 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참조하세요 .

속성 문서

x : real

y : real

이동할 위치를 정의합니다.

relativeXrelativeY참조하세요 .


relativeX : real

relativeY : real

시작을 기준으로 이동할 위치를 정의합니다.

단일 축에 대해 상대 및 절대 끝 위치를 모두 지정한 경우 상대 위치가 사용됩니다.

상대 위치와 절대 위치를 혼합할 수 있습니다(예: 상대 x와 절대 y를 설정하는 것이 유효함).

xy참조하세요 .


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