gimp-gradient-segment-get-coloring-type

Shlomi Fish <shlomif@iglu.org.il>

Description

Retrieves the gradient segment's coloring type

Help

This procedure retrieves the coloring type of the segment at the specified gradient name and segment index.


Type

unknown

Parameters

Type Name Description
PF_VALUE name The gradient name
PF_INT segment The index of the segment within the gradient (segment >= 0)

Return

Type Name Description
PF_INT coloring-type The coloring type of the segment { GRADIENT-SEGMENT-RGB (0), GRADIENT-SEGMENT-HSV-CCW (1), GRADIENT-SEGMENT-HSV-CW (2) }