segment_get_right_pos


Description:

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

Gets the right endpoint position of the segment

Gets the position of the right 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.