# Gimp.Brush.prototype.set_angle

    function set_angle(angle_in: Number(gdouble)): [ok: Boolean, angle_out: Number(gdouble)] {
        // Gjs wrapper for gimp_brush_set_angle()
    }

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.

Since 2.4

angle_in

  The desired brush rotation angle in degrees.

ok

  TRUE on success.

angle_out

  The brush rotation angle actually assigned.