이 페이지에서

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.

속성 문서

relativeX : real

relativeY : real

선의 시작점을 기준으로 끝점을 정의합니다.

단일 축에 대해 상대적 종점과 절대적 종점이 모두 지정된 경우, 상대적 위치가 사용됩니다.

상대 위치와 절대 위치를 혼합하여 사용할 수 있습니다. 예를 들어, x축은 상대 위치로, y축은 절대 위치로 설정하는 것이 유효합니다.

x 및 y도 참조하십시오 .

x : real

y : real

선의 끝점을 정의합니다.

relativeX 및 relativeY도 참조하십시오 .

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