Gimp.brush_get_shape

function brush_get_shape(name: String): Gimp.BrushGeneratedShape {
    // Gjs 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

The brush shape.