CanvasPixelArray QML Type
Bietet geordneten und indizierten Zugriff auf die Komponenten jedes Pixels in Bilddaten. Mehr...
Import Statement: | import QtQuick |
Eigenschaften
- length : int
Ausführliche Beschreibung
Das CanvasPixelArray-Objekt bietet geordneten, indizierten Zugriff auf die Farbkomponenten der einzelnen Pixel der Bilddaten. Auf das CanvasPixelArray kann als normales Javascript-Array zugegriffen werden.
Siehe auch CanvasImageData und W3C 2d context standard für PixelArray.
Dokumentation der Eigenschaften
length : int |
Das Objekt CanvasPixelArray repräsentiert h×w×4 Ganzzahlen, wobei w und h aus CanvasImageData stammen. Das Längenattribut eines CanvasPixelArray Objekts muss diesen h×w×4 Zahlenwert zurückgeben. Diese Eigenschaft ist nur lesbar.
© 2025 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.