이 페이지에서

Qt Canvas2D QML types

이 모듈은 기술 미리보기 단계에 있으며, 향후 변경될 수 있습니다.

이 모듈은 Qt 6.12에서 처음 도입되었습니다.

이 QML 모듈에는 Qt Quick 용 Canvas2D 요소가 포함되어 있습니다. Canvas2D 를 사용하려면 다음 줄을 사용하여 모듈을 임포트하십시오:

import QtCanvas2D

Canvas2D QML 유형

Canvas2D

JavaScript를 통해 그리기를 가능하게 하는 2D 캔버스 항목을 제공합니다.

Canvas2DContext

Canvas2D 항목에 그리기 위한 2D 컨텍스트를 제공합니다.

boxgradient2d

QCanvasBoxGradient와 호환되는 boxgradient2d 유형을 제공합니다

boxshadow2d

QCanvasBoxShadow와 호환되는 boxshadow2d 유형을 제공합니다

conicalgradient2d

QCanvasConicalGradient와 호환되는 conicalgradient2d 유형을 제공합니다

gridpattern2d

QCanvasGridPattern과 호환되는 gridpattern2d 유형을 제공합니다

imagepattern2d

QCanvasImagePattern에 대한 imagepattern2d 유형 매칭을 제공합니다

lineargradient2d

QCanvasLinearGradient에 lineargradient2d 유형 매칭을 제공합니다.

path2d

QCanvasPath와 매칭되는 페인터 경로 컨테이너인 path2d 유형을 제공합니다

radialgradient2d

QCanvasRadialGradient에 대한 radialgradient2d 유형 매칭을 제공합니다.

transform2d

QTransform과 일치하는 3x3 2D 변환 행렬인 transform2d 유형을 제공합니다.

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