Gimp.brush_set_shape
@accepts(unicode, Gimp.BrushGeneratedShape)
@returns(Gimp.BrushGeneratedShape)
def brush_set_shape(name, shape_in):
# Python wrapper for gimp_brush_set_shape()
Sets the shape of a generated brush.
This procedure sets the shape value for a generated brush. If called for any other type of brush, it does not succeed. The current possibilities are Circle (GIMP_BRUSH_GENERATED_CIRCLE), Square (GIMP_BRUSH_GENERATED_SQUARE), and Diamond (GIMP_BRUSH_GENERATED_DIAMOND). Other shapes are likely to be added in the future.
Since 2.4
- name
The brush name.
- shape_in
The brush shape.
- Returns