# Gimp.Image.add_sample_point

    @accepts(Gimp.Image, int, int)
    @returns(int)
    def add_sample_point(self, position_x, position_y):
        # Python wrapper for gimp_image_add_sample_point()

Add a sample point to an image.

This procedure adds a sample point to an image. It takes the input image and the position of the new sample points as parameters. It returns the sample point ID of the new sample point.

Since 2.10

self

  The image.

position_x

  The guide'sample points x-offset from left of image.

position_y

  The guide'sample points y-offset from top of image.

Returns