PathLine QML Type

직선을 정의합니다. 더 보기...

Import Statement: import QtQuick

속성

상세 설명

아래 예제는 0,100에서 200,100까지의 직선으로 구성된 경로를 만듭니다:

Path {
    startX: 0; startY: 100
    PathLine { x: 200; y: 100 }
}

Path, PathQuad, PathCubic, PathArc, PathAngleArc, PathCurve, PathSvg, PathMove, PathPolyline, PathRectangle참조하세요 .

속성 문서

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.