segment_get_left_pos


Description:

[ Version ( since = "2.2" ) ]
public bool segment_get_left_pos (int segment, out double pos)

Gets the left endpoint position of a segment

Gets the position of the left endpoint of the segment of the gradient. Returns an error when the segment index is out of range.

Parameters:

this

The gradient.

segment

The index of a segment within the gradient.

pos

The return position.

Returns:

TRUE on success.