Gimp.brush_set_angle

@accepts(unicode, float)
@returns(float)
def brush_set_angle(name, angle_in):
    # Python 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