Gimp.Brush.get_by_name

function get_by_name(name: String): Gimp.Brush {
    // Gjs wrapper for gimp_brush_get_by_name()
}
  

Returns the brush with the given name.

Return an existing brush having the given name. Returns null when no brush exists of that name.

Since 3.0

name

The name of the brush.

Returns

The brush.