Class
GimpGradient
Description [src]
final class Gimp.Gradient : Gimp.Resource {
/* No available fields */
}
Installable object used by the gradient rendering tool.
Instance methods
gimp_gradient_get_number_of_segments
Gets the number of segments of the gradient.
Available since: 2.6
gimp_gradient_segment_get_blending_function
Gets the gradient segment’s blending function.
Available since: 2.2
gimp_gradient_segment_get_coloring_type
Gets the gradient segment’s coloring type.
Available since: 2.2
gimp_gradient_segment_get_left_color
Gets the left endpoint color of the segment.
Available since: 2.2
gimp_gradient_segment_get_left_pos
Gets the left endpoint position of a segment.
Available since: 2.2
gimp_gradient_segment_get_middle_pos
Gets the midpoint position of the segment.
Available since: 2.2
gimp_gradient_segment_get_right_color
Gets the right endpoint color of the segment.
Available since: 2.2
gimp_gradient_segment_get_right_pos
Gets the right endpoint position of the segment.
Available since: 2.2
gimp_gradient_segment_range_blend_colors
Blend the colors of the segment range.
Available since: 2.2
gimp_gradient_segment_range_blend_opacity
Blend the opacity of the segment range.
Available since: 2.2
gimp_gradient_segment_range_move
Move the position of an entire segment range by a delta.
Available since: 2.2
gimp_gradient_segment_range_redistribute_handles
Uniformly redistribute the segment range’s handles.
Available since: 2.2
gimp_gradient_segment_range_set_blending_function
Sets the blending function of a range of segments.
Available since: 2.2
gimp_gradient_segment_range_set_coloring_type
Sets the coloring type of a range of segments.
Available since: 2.2
gimp_gradient_segment_range_split_midpoint
Splits each segment in the segment range at midpoint.
Available since: 2.2
gimp_gradient_segment_range_split_uniform
Splits each segment in the segment range uniformly.
Available since: 2.2
gimp_gradient_segment_set_left_color
Sets the left endpoint color of a segment.
Available since: 2.2
gimp_gradient_segment_set_left_pos
Sets the left endpoint position of the segment.
Available since: 2.2
gimp_gradient_segment_set_middle_pos
Sets the midpoint position of the segment.
Available since: 2.2
gimp_gradient_segment_set_right_color
Sets the right endpoint color of the segment.
Available since: 2.2
gimp_gradient_segment_set_right_pos
Sets the right endpoint position of the segment.
Available since: 2.2
Methods inherited from GimpResource (12)
gimp_resource_delete
Deletes a resource.
Available since: 3.0
gimp_resource_duplicate
Duplicates a resource.
Available since: 3.0
gimp_resource_get_id
Available since: 3.0
gimp_resource_get_name
Returns the resource’s name.
Available since: 3.0
gimp_resource_is_brush
Returns whether the resource is a brush.
Available since: 3.0
gimp_resource_is_editable
Whether the resource can be edited.
Available since: 3.0
gimp_resource_is_font
Returns whether the resource is a font.
Available since: 3.0
gimp_resource_is_gradient
Returns whether the resource is a gradient.
Available since: 3.0
gimp_resource_is_palette
Returns whether the resource is a palette.
Available since: 3.0
gimp_resource_is_pattern
Returns whether the resource is a pattern.
Available since: 3.0
gimp_resource_is_valid
Returns TRUE if the resource is valid.
Available since: 3.0
gimp_resource_rename
Renames a resource. When the name is in use, renames to a unique name.
Available since: 3.0
Properties
Properties inherited from GimpResource (1)
Gimp.Resource:id
Signals
Signals inherited from GObject (1)
GObject.Object::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.