# Gimp.Image.prototype.get_sample_point_position

    function get_sample_point_position(sample_point: Number(guint)): [return_value: Number(gint), position_y: Number(gint)] {
        // Gjs wrapper for gimp_image_get_sample_point_position()
    }

Get position of a sample point on an image.

This procedure takes an image and a sample point ID as input and returns the position of the sample point relative to the top and left of the image.

Since 2.10

sample_point

  The guide.

return_value

  The sample point's x-offset relative to left of image.

position_y

  The sample point's y-offset relative to top of image.