# Gimp.brush_set_spikes

    function brush_set_spikes(name: String, spikes_in: Number(gint)): Number(gint) {
        // Gjs wrapper for gimp_brush_set_spikes()
    }

Sets the number of spikes for a generated brush.

This procedure sets the number of spikes for a generated brush. If called for any other type of brush, it does not succeed.

Since 2.4

name

  The brush name.

spikes_in

  The desired number of spikes.

Returns

  The number of spikes actually assigned.