edit_bucket_fill


Description:

[ Version ( since = "2.10" ) ]
public bool edit_bucket_fill (FillType fill_type, double x, double y)

Fill the area by a seed fill starting at the specified coordinates.

This procedure does a seed fill at the specified coordinates, using various parameters from the current context. In the case of merged sampling, the x and y coordinates are relative to the image's origin; otherwise, they are relative to the drawable's origin.

This procedure is affected by the following context setters: context_set_opacity , context_set_paint_mode, context_set_foreground, context_set_background, context_set_pattern, context_set_sample_threshold, context_set_sample_merged, context_set_sample_criterion, context_set_diagonal_neighbors, context_set_antialias.

Parameters:

this

The affected drawable.

fill_type

The type of fill.

x

The x coordinate of this bucket fill's application.

y

The y coordinate of this bucket fill's application.

Returns:

TRUE on success.