SetPixel Data Member Function

Sets the color value of a pixel in an <Image>.

Prototype

int32 SetPixel( int32 p_nX, int32 p_nY, Color p_oPixelColor )

Parameters

Parameter Type Parameter Name Documentation
int32p_nXThe x-coordinate of the pixel to set.
int32p_nYThe y-coordinate of the pixel to set.
<Color>p_oPixelColorA pointer to a <Color> object representing the color value to set for the pixel.

Examples

Copy Text To Clipboard

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