Gimp.Drawable.prototype.edit_bucket_fill
function edit_bucket_fill(fill_type: Gimp.FillType, x: Number(gdouble), y: Number(gdouble)): Boolean {
// Gjs wrapper for gimp_drawable_edit_bucket_fill()
}
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: Gimp.context_set_opacity, Gimp.context_set_paint_mode, Gimp.context_set_foreground, Gimp.context_set_background, Gimp.context_set_pattern, Gimp.context_set_sample_threshold, Gimp.context_set_sample_merged, Gimp.context_set_sample_criterion, Gimp.context_set_diagonal_neighbors, Gimp.context_set_antialias.
Since 2.10
- 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.