[ Version ( since = "2.2" ) ]
public bool segment_range_redistribute_handles (int start_segment, int end_segment)
Uniformly redistribute the segment range's handles
Redistributes the handles of the segment range of the gradient, so they'll be evenly spaced. A handle is where two segments meet. Segments will then have the same width. Returns an error when a segment index is out of range, or gradient is not editable.
| this |
The gradient. |
| start_segment |
Index of the first segment to operate on. |
| end_segment |
Index of the last segment to operate on. If negative, the range will extend to the end segment. |
|
TRUE on success. |