Gimp.airbrush_default

function airbrush_default(drawable: Gimp.Drawable, strokes: Array(Number(gdouble))): Boolean {
    // Gjs wrapper for gimp_airbrush_default()
}
  

Paint in the current brush with varying pressure. Paint application is time-dependent.

This tool simulates the use of an airbrush. It is similar to Gimp.airbrush except that the pressure is derived from the airbrush tools options box. It the option has not been set the default for the option will be used.

drawable

The affected drawable.

strokes

Array of stroke coordinates: { s1.x, s1.y, s2.x, s2.y, ..., sn.x, sn.y }.

Returns

TRUE on success.