Gimp.Drawable.prototype.get_pixel
function get_pixel(x_coord: Number(gint), y_coord: Number(gint)): Gegl.Color {
// Gjs wrapper for gimp_drawable_get_pixel()
}
Gets the value of the pixel at the specified coordinates.
This procedure gets the pixel value at the specified coordinates.
- x_coord
The x coordinate.
- y_coord
The y coordinate.
- Returns
The pixel color.