The CanvasPixelArray object provides ordered, indexed access to the color components of each pixel of the image data. The data must be represented in left-to-right order, row by row top to bottom, starting with the top left, with each pixel's red, green, blue, and alpha components being given in that order for each pixel. Each component of each device pixel represented in this array must be in the range 0..255, representing the 8 bit value for that component. The components must be assigned consecutive indices starting with 0 for the top left pixel's red component.
Configuration Document Settings
To use all of the API described for this object, you must ensure the following settings are in your configuration document:
|This API does not require a <feature> element to be declared in the configuration document of your BlackBerry WebWorks Application.|
|Permission Elements (PlayBook and BlackBerry 10+)|
|This API does not require a <permission> element to be declared in the configuration document of your BlackBerry WebWorks Application.|