set_radius


Description:

[ Version ( since = "2.4" ) ]
public bool set_radius (double radius_in, out double radius_out)

Sets the radius of a generated brush.

Sets the radius for a generated brush. Clamps radius to [0.1, 4000.0]. Returns the clamped value. Returns an error when brush is non-parametric or not editable.

Parameters:

this

The brush.

radius_in

The desired brush radius in pixel.

radius_out

The brush radius actually assigned.

Returns:

TRUE on success.