set_aspect_ratio


Description:

[ Version ( since = "2.4" ) ]
public bool set_aspect_ratio (double aspect_ratio_in, out double aspect_ratio_out)

Sets the aspect ratio of a generated brush.

Sets the aspect ratio for a generated brush. Clamps aspect ratio to [0.0, 1000.0]. Returns the clamped value. Returns an error when brush is non-parametric or not editable.

Parameters:

this

The brush.

aspect_ratio_in

The desired brush aspect ratio.

aspect_ratio_out

The brush aspect ratio actually assigned.

Returns:

TRUE on success.