chickadee » macaw » rgb-array-ref

rgb-array-ref rgb-array_1 x yprocedure

Returns an rgb color object which directly accesses the memory of the array at the coordinates x, y. Modifying the color will modify the array data. The color's parent will be automatically set to the array, so that the array will not be garbage collected while the color is using its memory. See rgb-parent.

Signals an exception if x or y are out of bounds.