Method: Processing::Image#updatePixels

Defined in:
lib/processing/image.rb

#updatePixelsnil

Update the image pixels with the ‘pixels’ array.



99
100
101
102
103
# File 'lib/processing/image.rb', line 99

def updatePixels()
  return unless @pixels
  getInternal__.pixels = @pixels
  @pixels = nil
end