CanvasPixelArray QML Type
Proporciona acceso ordenado e indexado a los componentes de cada píxel en los datos de imagen. Más...
| Import Statement: | import QtQuick |
Propiedades
- length : int
Descripción detallada
El objeto CanvasPixelArray proporciona un acceso ordenado e indexado a los componentes de color de cada píxel de los datos de la imagen. Se puede acceder al CanvasPixelArray como a un array normal de Javascript.
Consulte también CanvasImageData y el estándar W3C 2d context para PixelArray.
Documentación de propiedades
length : int
El objeto CanvasPixelArray representa enteros h×w×4 cuyos w y h provienen de CanvasImageData. El atributo length de un objeto CanvasPixelArray debe devolver este valor numérico h×w×4. Esta propiedad es de sólo lectura.
© 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.