# Gimp.brush_set_angle

    function brush_set_angle(name: String, angle_in: Number(gdouble)): Number(gdouble) {
        // Gjs wrapper for gimp_brush_set_angle()
    }

Sets the rotation angle of a generated brush.

This procedure sets the rotation angle for a generated brush. If called for any other type of brush, it does not succeed.

Since 2.4

name

  The brush name.

angle_in

  The desired brush rotation angle in degree.

Returns

  The brush rotation angle actually assigned.