Search the Community
Showing results for tags 'getPixel'.
How to do the following - 1) to frame an image with a translucent gradient. 2) read the pixel values from the image, which turned out to be the first step. How such to make? Please write a brief step by step guide. And another important point - the picture and the gradients must not fall into the display list. I managed to make all the individual parts. But can't collect, so as to obtain the pixel color you need to keep the context of the canvas. But can't collect, so as to obtain the pixel color you need to keep the context of the canvas. In the sprite.texture.baseTexture.source returns one of the inverted gradient, kartinki on canvas no.