En esta página

CanvasImageData QML Type

Contiene datos de píxeles de imagen en orden RGBA. Más...

Import Statement: import QtQuick

Propiedades

Descripción detallada

El objeto CanvasImageData contiene los datos de píxeles de la imagen.

El objeto CanvasImageData tiene las dimensiones reales de los datos almacenados en este objeto y contiene la matriz unidimensional que contiene los datos en orden RGBA, como enteros en el rango de 0 a 255.

Véase también width, height, data, Context2D::createImageData(), Context2D::getImageData(), y Context2D::putImageData().

Documentación de propiedades

data : object

Contiene la matriz unidimensional que contiene los datos en orden RGBA, como enteros en el rango de 0 a 255.

height : int

Contiene la dimensión real de la altura de los datos en el objeto ImageData, en píxeles de dispositivo.

width : int

Indica la anchura real de los datos del objeto ImageData, en píxeles del dispositivo.

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