Gimp.brush_get_spikes

function brush_get_spikes(name: String): Number(gint) {
    // Gjs wrapper for gimp_brush_get_spikes()
}
  

Gets the number of spikes for a generated brush.

This procedure gets 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.

Returns

The number of spikes on the brush.