Grx.Context.prototype.get_pixel_at_user

function get_pixel_at_user(x: Number(gint), y: Number(gint)): Grx.Color {
    // Gjs wrapper for grx_context_get_pixel_at_user()
}
  

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