Gimp.Brush.prototype.get_info
function get_info(): [ok: Boolean, width: Number(gint), height: Number(gint), mask_bpp: Number(gint), color_bpp: Number(gint)] {
// Gjs wrapper for gimp_brush_get_info()
}
Gets information about the brush.
Gets information about the brush: brush extents (width and height), color depth and mask depth (bpp). The color bpp is zero when the brush is parametric versus raster.
Since 2.2
- ok
TRUE on success.
- width
The brush width.
- height
The brush height.
- mask_bpp
The brush mask bpp.
- color_bpp
The brush color bpp.