get

operator fun get(x: Int, y: Int): Color

Gets the color of the pixel at the specified (x, y) coordinates.

Return

A Color object representing the color of the pixel.

Parameters

x

The X coordinate of the pixel.

y

The Y coordinate of the pixel.