get_shape


Description:

[ Version ( since = "2.4" ) ]
public bool get_shape (out BrushGeneratedShape shape)

Gets the shape of a generated brush.

Gets the shape of a generated brush. Returns an error when called for a non-parametric brush. The choices for shape are Circle ( GIMP_BRUSH_GENERATED_CIRCLE), Square (GIMP_BRUSH_GENERATED_SQUARE), and Diamond (GIMP_BRUSH_GENERATED_DIAMOND). Other shapes might be added in the future.

Parameters:

this

The brush.

shape

The brush shape.

Returns:

TRUE on success.