set_hardness


Description:

[ Version ( since = "2.4" ) ]
public bool set_hardness (double hardness_in, out double hardness_out)

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.

Parameters:

this

The brush.

hardness_in

The desired brush hardness.

hardness_out

The brush hardness actually assigned.

Returns:

TRUE on success.