CanvasImageData QML Type

Contains image pixel data in RGBA order 更多...

import 語句: import QtQuick 2.7

特性

詳細描述

The CanvasImageData object holds the image pixel data.

The CanvasImageData object has the actual dimensions of the data stored in this object and holds the one-dimensional array containing the data in RGBA order, as integers in the range 0 to 255.

另請參閱 width , height , data , Context2D::createImageData() , Context2D::getImageData() ,和 Context2D::putImageData() .

特性文檔編製

data : object

Holds the one-dimensional array containing the data in RGBA order, as integers in the range 0 to 255.

height : int

Holds the actual height dimension of the data in the ImageData object, in device pixels.

width : int

Holds the actual width dimension of the data in the ImageData object, in device pixels.