CanvasPixelArray QML Type

画像データ内の各ピクセルの構成要素への順序付けされたインデックス付きアクセスを提供します。詳細...

Import Statement: import QtQuick

プロパティ

詳細説明

CanvasPixelArrayオブジェクトは、画像データの各ピクセルの色成分への順序付けされたインデックス付きアクセスを提供します。CanvasPixelArrayは、通常のJavascriptの配列としてアクセスできます。

PixelArray についてはCanvasImageData およびW3C 2d context standardも参照してください

プロパティの説明

length : int

CanvasPixelArray オブジェクトは h×w×4 の整数を表し、w と h はCanvasImageData に由来します。CanvasPixelArray オブジェクトの length 属性は、この h×w×4 の数値を返さなければなりません。このプロパティは読み取り専用である。


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