<?xml version="1.0"?>
<page id="Gimp.Vector2.rotate_val"
      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.Vector2" group="method" type="guide"/>
    <api:function>
      <api:returns>
        <api:type>Gimp.Vector2</api:type>
      </api:returns>
      <api:name>gimp_vector2_rotate_val</api:name>
      <api:arg>
        <api:type>Gimp.Vector2</api:type>
        <api:name>self</api:name>
      </api:arg>
      <api:arg>
        <api:type>float</api:type>
        <api:name>alpha</api:name>
      </api:arg>
    </api:function>
  </info>
  <title>Gimp.Vector2.rotate_val</title>
  <synopsis><code mime="text/x-python">
@accepts(Gimp.Vector2, float)
@returns(Gimp.Vector2)
def rotate_val(self, alpha):
    # Python wrapper for gimp_vector2_rotate_val()
  </code></synopsis>
  <p>Identical to [method@Vector2.rotate], but the vector
is passed by value rather than by reference.</p>

<terms>
<item>
<title><code>self</code></title>
  <p>a <link xref="Gimp.Vector2"/>.</p>
</item>
<item>
<title><code>alpha</code></title>
  <p>an angle (in radians).</p>
</item>
<item>
<title><code>Returns</code></title>
{formatter.format(node, node.retval.doc)}
</item>
</terms>

</page>
