Gimp.Brush.prototype.set_radius
function set_radius(radius_in: Number(gdouble)): [ok: Boolean, radius_out: Number(gdouble)] {
// Gjs wrapper for gimp_brush_set_radius()
}
Sets the radius of a generated brush.
Sets the radius for a generated brush. Clamps radius to [0.0, 32767.0]. Returns the clamped value. Returns an error when brush is non-parametric or not editable.
Since 2.4
- radius_in
The desired brush radius in pixel.
- ok
TRUE on success.
- radius_out
The brush radius actually assigned.