CanvasPixelArray QML Type
Fornisce un accesso ordinato e indicizzato alle componenti di ciascun pixel nei dati dell'immagine. Altro...
| Import Statement: | import QtQuick |
Proprietà
- length : int
Descrizione dettagliata
L'oggetto CanvasPixelArray fornisce un accesso ordinato e indicizzato alle componenti di colore di ciascun pixel dei dati dell'immagine. È possibile accedere a CanvasPixelArray come a un normale array JavaScript.
Vedi anche CanvasImageData e lo standard W3C 2d context per PixelArray.
Documentazione delle proprietà
length : int
L'oggetto ` CanvasPixelArray ` rappresenta un vettore di h×w×4 numeri interi, dove w e h sono ricavati da ` CanvasImageData`. L'attributo `length` di un oggetto ` CanvasPixelArray ` deve restituire questo valore numerico h×w×4. Questa proprietà è di sola lettura.
© 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.