Method
GimpGradientsegment_get_coloring_type
Declaration [src]
gboolean
gimp_gradient_segment_get_coloring_type (
GimpGradient* gradient,
gint segment,
GimpGradientSegmentColor* coloring_type
)
Description [src]
Gets the gradient segment’s coloring type
Gets the coloring type of the segment at the index. Returns an error when the segment index is out of range.
Available since: | 2.2 |
Parameters
segment |
gint |
The index of a segment within the gradient. |
|
coloring_type |
GimpGradientSegmentColor |
The coloring type of the segment. |
|
The argument will be set by the function. | |
The instance takes ownership of the data, and is responsible for freeing it. |