pixel. Work with image pixels

^image.pixel(x;y)

Returns the color of the image pixel specified. If coordinates are out of image bounds, returns -1.

^image.pixel(x;y;color)

Sets
color of the image pixel specified.


Copyright © 1997–2021 Art. Lebedev Studio | http://www.artlebedev.com Last updated: 31.03.2004