set_shape


Description:

[ Version ( since = "2.4" ) ]
public bool set_shape (BrushGeneratedShape shape_in, out BrushGeneratedShape shape_out)

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).

Parameters:

this

The brush.

shape_in

The brush shape.

shape_out

The brush shape actually assigned.

Returns:

TRUE on success.