add_sample_point


Description:

[ Version ( since = "2.10" ) ]
public uint add_sample_point (int position_x, int position_y)

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.

Parameters:

this

The image.

position_x

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

position_y

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

Returns:

The new sample point.