Gimp.context_set_stroke_method

function context_set_stroke_method(stroke_method: Gimp.StrokeMethod): Boolean {
    // Gjs wrapper for gimp_context_set_stroke_method()
}
  

Set the active stroke method.

Sets the active stroke method. The method will be used in all subsequent stroke operations.

Since 2.10

stroke_method

The new stroke method.

Returns

TRUE on success.