set_n_samples


Description:

[ Version ( since = "3.2" ) ]
public void set_n_samples (int n_samples)

Sets the number of sample in a [enum@Gimp.

CurveType.FREE] this.

Samples will be positioned on the curve abscissa at regular interval. The more samples, the more your curve will have details. Currently, the value of n_samples is limited and must be between `2^8` and `2^12`.

Note that changing the number of samples will reset the curve to an identity curve.

Parameters:

this

the Curve.

n_samples

the number of samples.