Gimp.Brush.prototype.set_shape
function set_shape(shape_in: Gimp.BrushGeneratedShape): [ok: Boolean, shape_out: Gimp.BrushGeneratedShape] {
// Gjs wrapper for gimp_brush_set_shape()
}
Sets the shape of a generated brush.
Sets the shape of a generated brush. Returns an error when brush is non-parametric or not editable. The choices for shape are Circle (GIMP_BRUSH_GENERATED_CIRCLE), Square (GIMP_BRUSH_GENERATED_SQUARE), and Diamond (GIMP_BRUSH_GENERATED_DIAMOND).
Since 2.4
- shape_in
The brush shape.
- ok
TRUE on success.
- shape_out
The brush shape actually assigned.