set_angle


Description:

[ Version ( since = "2.4" ) ]
public bool set_angle (double angle_in, out double angle_out)

Sets the rotation angle of a generated brush.

Sets the rotation angle for a generated brush. Sets the angle modulo 180, in the range [-180.0, 180.0]. Returns the clamped value. Returns an error when brush is non-parametric or not editable.

Parameters:

this

The brush.

angle_in

The desired brush rotation angle in degrees.

angle_out

The brush rotation angle actually assigned.

Returns:

TRUE on success.