CanvasPixelArray QML Type
이미지 데이터에서 각 픽셀의 구성 요소에 대한 정렬 및 인덱싱된 액세스를 제공합니다. 더 보기...
Import Statement: | import QtQuick |
속성
- length : int
상세 설명
캔버스 픽셀 배열 객체는 이미지 데이터의 각 픽셀의 색상 구성 요소에 대한 인덱싱된 정렬된 액세스를 제공합니다. 캔버스 픽셀 배열은 일반 자바스크립트 배열로 액세스할 수 있습니다.
PixelArray에 대한CanvasImageData 및 W3C 2d 컨텍스트 표준도참조하세요 .
속성 문서
length : int |
CanvasPixelArray 객체는 w와 h가 CanvasImageData 에서 가져온 h×w×4 정수를 나타냅니다. CanvasPixelArray 객체의 길이 속성은 이 h×w×4 숫자 값을 반환해야 합니다. 이 속성은 읽기 전용입니다.
© 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.