Main image color settings
x | Specifies the x coordinate (in the image coordinates of the layer) for which you want to set the color. |
y | Specifies the y coordinate (in the image coordinates of the layer) to set the color. |
color | Specify the color to be set in the 0xRRGGBB format. |
Layer Sets the color at any position on 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.