Gimp.gradient_segment_get_coloring_type
function gradient_segment_get_coloring_type(name: String, segment: Number(gint)): [ok: Boolean, coloring_type: Gimp.GradientSegmentColor] {
// Gjs wrapper for gimp_gradient_segment_get_coloring_type()
}
Retrieves the gradient segment's coloring type
This procedure retrieves the coloring type of the segment at the specified gradient name and segment index.
Since 2.2
- name
The gradient name.
- segment
The index of the segment within the gradient.
- ok
TRUE on success.
- coloring_type
The coloring type of the segment.