GetColor Data Member Function

Returns a <Color> object containing the RGBA color at the specified pixel.

Prototype

int32 GetColor( int32 width, int32 height, Color dst )

Parameters

Parameter Type Parameter Name Documentation
int32widthThe width coordinate of the pixel.
int32heightThe height coorindate of the pixel.
<Color>dstA pointer to the <Color> object that stores the RGBA value at the specified pixel.

Examples

Copy Text To Clipboard

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