PathInterpolated QML Type
경로를 목록의 두 경로 사이의 보간된 값으로 정의합니다. 자세히...
| Import Statement: | import QtQuick.VectorImage.Helpers |
| Since: | Qt 6.11 |
속성
상세 설명
이 항목은 보간된 경로를 지정하는 간단한 방법을 제공합니다. 한 경로가 다음 경로로 점진적으로 변형되는 애니메이션 경로를 표시하는 데 유용합니다.
보간 끝점은 PathSvg 항목과 동일한 구문을 사용하여 svgPaths 목록 속성에서 지정합니다. factor 속성에 따라 결과 경로는 목록에서 경로 n과 n+1 사이의 보간이 되며, 여기서 n은 계수의 정수 부분입니다. 분수 부분은 둘 사이의 보간 가중치를 결정합니다.
속성 문서
factor : real
이 속성은 보간 계수를 보유합니다. 유효 값은 [0, svgPaths.size - 1]로 고정됩니다.
svgPaths : stringlist
이 속성은 PathSvg 와 같은 방식으로 SVG 텍스트 문자열로 지정된 경로 목록을 보유합니다.
목록의 두 경로 사이에 보간된 값의 생성은 경로 요소의 수와 유형이 동일한 경로에 따라 달라집니다. 결과 경로는 두 소스 경로 사이에 선형 보간된 좌표와 함께 동일한 요소를 갖습니다.
© 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.