Grx.Context.get_pixel_at

@accepts(Grx.Context, int, int)
@returns(Grx.Color)
def get_pixel_at(self, x, y):
    # Python wrapper for grx_context_get_pixel_at()
  

Gets the color value of the pixel in the context at the specified coordinates.

Also see Grx.get_pixel_at for operating on the current context.

self

the context

x

the X coordinate

y

the Y coordinate

Returns