Gimp.Brush.prototype.set_hardness
function set_hardness(hardness_in: Number(gdouble)): [ok: Boolean, hardness_out: Number(gdouble)] {
// Gjs wrapper for gimp_brush_set_hardness()
}
Sets the hardness of a generated brush.
Sets the hardness for a generated brush. Clamps hardness to [0.0, 1.0]. Returns the clamped value. Returns an error when brush is non-parametric or not editable.
Since 2.4
- hardness_in
The desired brush hardness.
- ok
TRUE on success.
- hardness_out
The brush hardness actually assigned.