<?xml version="1.0"?>
<page id="Gimp.Pattern.get_info"
      type="topic"
      style="method"
      xmlns="http://projectmallard.org/1.0/"
      xmlns:api="http://projectmallard.org/experimental/api/"
      xmlns:ui="http://projectmallard.org/1.0/ui/">
  <info>
    <link xref="Gimp.Pattern" group="method" type="guide"/>
    <api:function>
      <api:returns>
        <api:type>Boolean</api:type>
      </api:returns>
      <api:name>gimp_pattern_get_info</api:name>
    </api:function>
  </info>
  <title>Gimp.Pattern.prototype.get_info</title>
  <synopsis><code mime="text/x-gjs">
function get_info(): [ok: Boolean, width: Number(gint), height: Number(gint), bpp: Number(gint)] {
    // Gjs wrapper for gimp_pattern_get_info()
}
  </code></synopsis>
  <p>Gets information about the pattern.</p>  <p>Gets information about the pattern: the pattern extents (width and
height) and bytes per pixel.</p>
  <p>Since 2.2</p>
<terms>
<item>
<title><code>ok</code></title>
  <p>TRUE on success.</p>
</item>
<item>
<title><code>width</code></title>
  <p>The pattern width.</p>
</item>
<item>
<title><code>height</code></title>
  <p>The pattern height.</p>
</item>
<item>
<title><code>bpp</code></title>
  <p>The pattern bpp.</p>
</item>
</terms>

</page>
