Get the color of the main image
x | Specifies the x coordinate (in the image coordinates of the layer) to get the color. |
y | Specifies the y coordinate (in the image coordinates of the layer) to get the color. |
0xRRGGBB format color number
Layer Gets the color at any position in the main image (the image that retains the color).
An exception is thrown if you specify an invalid (out of range) position as the image coordinates.