Gimp.brush_get_shape

@accepts(unicode)
@returns(Gimp.BrushGeneratedShape)
def brush_get_shape(name):
    # Python wrapper for gimp_brush_get_shape()
  

Gets the shape of a generated brush.

This procedure gets 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.

Returns