Gimp.brush_get_hardness

function brush_get_hardness(name: String): Number(gdouble) {
    // Gjs wrapper for gimp_brush_get_hardness()
}
  

Gets the hardness of a generated brush.

This procedure gets the hardness of a generated brush. The hardness of a brush is the amount its intensity fades at the outside edge, as a float between 0.0 and 1.0. If called for any other type of brush, the function does not succeed.

Since 2.4

name

The brush name.

Returns

The hardness of the brush.