Auf dieser Seite

CanvasPixelArray QML Type

Bietet einen geordneten und indizierten Zugriff auf die Komponenten jedes Pixels in Bilddaten. Mehr...

Import Statement: import QtQuick

Eigenschaften

Ausführliche Beschreibung

Das CanvasPixelArray-Objekt bietet einen geordneten, indizierten Zugriff auf die Farbkomponenten jedes Pixels der Bilddaten. Auf das CanvasPixelArray kann wie auf ein normales JavaScript-Array zugegriffen werden.

Siehe auch „ CanvasImageData “ und den W3C-Standard für 2D-Kontexte bezüglich PixelArray.

Dokumentation zu den Eigenschaften

length : int

Das Objekt „ CanvasPixelArray “ repräsentiert h×w×4 Ganzzahlen, wobei w und h aus „ CanvasImageData “ stammen. Das Attribut „length“ eines „ CanvasPixelArray “-Objekts muss diesen h×w×4-Zahlenwert zurückgeben. Diese Eigenschaft ist schreibgeschützt.

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