# Gimp.Pattern.prototype.get_info

    function get_info(): [ok: Boolean, width: Number(gint), height: Number(gint), bpp: Number(gint)] {
        // Gjs wrapper for gimp_pattern_get_info()
    }

Gets information about the pattern.

Gets information about the pattern: the pattern extents (width and height) and bytes per pixel.

Since 2.2

ok

  TRUE on success.

width

  The pattern width.

height

  The pattern height.

bpp

  The pattern bpp.