Home  Contents

gcx:pixel

Graphics Core4 Lua Commands

SYNOPSIS

rgb = gcx:pixel(x, y)

DESCRIPTION

Returns the color value at the given coordinate.

ERRORS

Raises an error if gcx is not a graphics context.

SEE ALSO