Grx.Context.prototype.get_pixel_at

function get_pixel_at(x: Number(gint), y: Number(gint)): Grx.Color {
    // Gjs 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.

x

the X coordinate

y

the Y coordinate

Returns