CanvasPixelArray QML Type

Provides ordered and indexed access to the components of each pixel in image data. 更多...

导入语句: import QtQuick 2.12

特性

详细描述

CanvasPixelArray object provides ordered, indexed access to the color components of each pixel of the image data. The CanvasPixelArray can be accessed as normal Javascript array.

另请参阅 CanvasImageData and W3C 2d context standard for PixelArray .

特性文档编制

length : int

CanvasPixelArray object represents h×w×4 integers which w and h comes from CanvasImageData . The length attribute of a CanvasPixelArray object must return this h×w×4 number value. This property is read only.