<?xml version="1.0"?>
<page id="Gimp.Brush.get_angle"
      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.Brush" group="method" type="guide"/>
    <api:function>
      <api:returns>
        <api:type>Boolean</api:type>
      </api:returns>
      <api:name>gimp_brush_get_angle</api:name>
    </api:function>
  </info>
  <title>Gimp.Brush.prototype.get_angle</title>
  <synopsis><code mime="text/x-gjs">
function get_angle(): [ok: Boolean, angle: Number(gdouble)] {
    // Gjs wrapper for gimp_brush_get_angle()
}
  </code></synopsis>
  <p>Gets the rotation angle of a generated brush.</p>  <p>Gets the angle of rotation for a generated brush. Returns an error
when called for a non-parametric brush.</p>
  <p>Since 2.4</p>
<terms>
<item>
<title><code>ok</code></title>
  <p>TRUE on success.</p>
</item>
<item>
<title><code>angle</code></title>
  <p>The rotation angle of the brush in degree.</p>
</item>
</terms>

</page>
