레퍼런스 loadPixels()

loadPixels()

Loads the current value of each pixel in the image into the img.pixels array.

img.loadPixels() must be called before reading or modifying pixel values.

예제

구문

loadPixels()
loadPixels()
loadPixels()
loadPixels()

매개변수


관련 레퍼런스