PathPolyline QML Type
좌표 목록을 통해 폴리라인을 정의합니다. 더 보기...
| Import Statement: | import QtQuick |
| Since: | QtQuick 2.14 |
속성
자세한 설명
아래 예제는 포함된 도형의 바운딩 박스 가장자리에 4개의 정점으로 구성된 삼각형 경로를 생성합니다. 포함된 도형의 ` scale ` 속성을 통해, 이 경로는 포함된 도형과 함께 크기가 조정됩니다.
PathPolyline {
id: ppl
path: [ Qt.point(0.0, 0.0),
Qt.point(1.0, 0.0),
Qt.point(0.5, 1.0),
Qt.point(0.0, 0.0)
]
}Path, PathQuad, PathCubic, PathArc, PathAngleArc, PathCurve, PathSvg 및 PathMove도 참조하십시오 .
속성 문서
path : list<point>
이 속성은 폴리라인의 정점을 정의합니다.
이 속성은 ` Qt.point()`로 생성된 점의 JS 배열, ` QList ` 또는 ` QPointF`의 ` QVector `, 혹은 ` QPolygonF`일 수 있습니다. 이 속성을 C++ 객체의 사용자 정의 속성에 바인딩하는 경우, ` QPolygonF `를 사용하는 것이 가장 적합합니다.
start : point [read-only]
이 읽기 전용 속성은 폴리라인의 시작점을 포함합니다.
© 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.