[iColor] color = Gfx2Texture.getPixel(self, x, y)


Gets the color of a pixel in the texture

Parameters


self

Gfx2Texture

The instance of self

x

integer

X position of the pixel to get

y

integer

Y position of the pixel to get

Return Value


color

iColor

The color of the pixel