このページでは

CanvasImageData QML Type

RGBA順の画像ピクセルデータが含まれています。詳細...

Import Statement: import QtQuick

プロパティ

詳細な説明

CanvasImageData オブジェクトは、画像のピクセルデータを保持します。

CanvasImageData オブジェクトには、このオブジェクトに格納されているデータの実際の寸法が指定されており、RGBA 順で、0 から 255 の範囲の整数としてデータを含む 1 次元配列が格納されています。

関連項目: width 、height 、data 、Context2D::createImageData()、Context2D::getImageData()、およびContext2D::putImageData()。

プロパティのドキュメント

data : CanvasPixelArray

RGBA順で、0から255までの整数としてデータが格納された1次元配列を保持します。

height : int

ImageData オブジェクト内のデータの実際の高さ寸法を、デバイスピクセル単位で保持します。

width : int

ImageData オブジェクト内のデータの実際の幅の寸法を、デバイスピクセル単位で保持します。

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