GetPixel Data Member Function

Sets the <Color> object submitted to this function to the color value of a pixel in this <Image>.

Prototype

int32 GetPixel( int32 p_nX, int32 p_nY, Color c_oPixelColor )

Parameters

Parameter Type Parameter Name Documentation
int32p_nXThe x-coordinate of the pixel to get.
int32p_nYThe y-coordinate of the pixel to get.
<Color>c_oPixelColorA pointer to a <Color> object which will be set to the value of the pixel.

Examples

Copy Text To Clipboard

None published. Please look for an example in the Scenome Scripting Language code base.