# Gimp.brush_get_aspect_ratio

    function brush_get_aspect_ratio(name: String): Number(gdouble) {
        // Gjs wrapper for gimp_brush_get_aspect_ratio()
    }

Gets the aspect ratio of a generated brush.

This procedure gets the aspect ratio of a generated brush. If called for any other type of brush, it does not succeed. The return value is a float between 0.0 and 1000.0.

Since 2.4

name

  The brush name.

Returns

  The aspect ratio of the brush.