Gimp.Brush.prototype.get_spikes

function get_spikes(): [ok: Boolean, spikes: Number(gint)] {
    // Gjs wrapper for gimp_brush_get_spikes()
}
  

Gets the number of spikes for a generated brush.

Gets the number of spikes for a generated brush. Returns an error when called for a non-parametric brush.

Since 2.4

ok

TRUE on success.

spikes

The number of spikes on the brush.