segment_get_blending_function


Description:

[ Version ( since = "2.2" ) ]
public bool segment_get_blending_function (int segment, out GradientSegmentType blend_func)

Gets the gradient segment's blending function

Gets the blending function of the segment at the index. Returns an error when the segment index is out of range.

Parameters:

this

The gradient.

segment

The index of a segment within the gradient.

blend_func

The blending function of the segment.

Returns:

TRUE on success.