Qt Quick Vector Image QML Types
이 모듈은 Qt 6.8에 도입되었습니다.
이 모듈의 유형을 사용하려면 다음 줄과 함께 모듈을 임포트합니다:
import QtQuick.VectorImage
Qt Quick 벡터 이미지는 Qt Quick 장면에 벡터 이미지 파일을 표시하는 기능을 지원합니다.
현재 SVG
파일 형식을 지원합니다. 또한 로티 지원은 assumeTrustedSource 속성을 true로 설정하고 플러그인을 Qt Lottie Animation 모듈에서 플러그인을 포함하면 됩니다. 이 플러그인은 현재 테크 프리뷰로 간주됩니다.
Qt는 SVG 파일 표시를 위한 여러 가지 옵션을 지원합니다. 다양한 옵션에 대한 개요와 비교는 svgtoqml 도구 설명서를 참조하세요.
QML 유형
벡터 이미지 파일을 로드하여 Qt Quick 장면에 표시합니다. |
© 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.