Gimp.Drawable.prototype.edit_fill

function edit_fill(fill_type: Gimp.FillType): Boolean {
    // Gjs wrapper for gimp_drawable_edit_fill()
}
  

Fill selected area of drawable.

This procedure fills the specified drawable according to fill mode. This procedure only affects regions within a selection if there is a selection active. If you want to fill the whole drawable, regardless of the selection, use Gimp.Drawable.prototype.fill.

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.

fill_type

The type of fill.

Returns

TRUE on success.