IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

CanvasPixelArray QML Type

Provides ordered and indexed access to the components of each pixel in image data.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

CanvasPixelArray QML Type▲

  • Import Statement: import QtQuick 2.13

  • Group: CanvasPixelArray is part of qtquick-canvas

Detailed Description▲

The CanvasPixelArray object provides ordered, indexed access to the color components of each pixel of the image data. The CanvasPixelArray can be accessed as normal Javascript array.

See Also▲

Property Documentation▲

 

length : int▲

The CanvasPixelArray object represents h×w×4 integers which w and h comes from CanvasImageData. The length attribute of a CanvasPixelArray object must return this h×w×4 number value. This property is read only.

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+