set_curve_type
Description:
[
Version ( since =
"3.2" ) ]
public void set_curve_type (
CurveType curve_type)
Sets the curve type of this, as follows:
- Nothing happens if the curve type is unchanged.
- If you change to [enum@Gimp.CurveType.SMOOTH], it will create a non-specified number of points and will approximate their position
along the freehand curve. All default points will be [enum@Gimp.CurvePointType.SMOOTH].
- If you change to [enum@Gimp.CurveType.FREE], all existing points will be cleared.
Parameters:
| this |
the Curve.
|
| curve_type |
the new curve type.
|