# Gimp.brush_get_info

    function brush_get_info(name: String): [ok: Boolean, width: Number(gint), height: Number(gint), mask_bpp: Number(gint), color_bpp: Number(gint)] {
        // Gjs wrapper for gimp_brush_get_info()
    }

Retrieves information about the specified brush.

This procedure retrieves information about the specified brush: brush extents (width and height), color depth and mask depth.

Since 2.2

name

  The brush name.

ok

  TRUE on success.

width

  The brush width.

height

  The brush height.

mask_bpp

  The brush mask bpp.

color_bpp

  The brush color bpp.