Gimp.brush_set_aspect_ratio

@accepts(unicode, float)
@returns(float)
def brush_set_aspect_ratio(name, aspect_ratio_in):
    # Python wrapper for gimp_brush_set_aspect_ratio()
  

Sets the aspect ratio of a generated brush.

This procedure sets the aspect ratio for a generated brush. If called for any other type of brush, it does not succeed. The value should be a float between 0.0 and 1000.0.

Since 2.4

name

The brush name.

aspect_ratio_in

The desired brush aspect ratio.

Returns