<?xml version="1.0"?>
<page id="Gimp.Layer.copy"
      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.Layer" group="method" type="guide"/>
    <api:function>
      <api:returns>
        <api:type>Gimp.Layer</api:type>
      </api:returns>
      <api:name>gimp_layer_copy</api:name>
      <api:arg>
        <api:type>Gimp.Layer</api:type>
        <api:name>self</api:name>
      </api:arg>
    </api:function>
  </info>
  <title>Gimp.Layer.copy</title>
  <synopsis><code mime="text/x-python">
@accepts(Gimp.Layer)
@returns(Gimp.Layer)
def copy(self):
    # Python wrapper for gimp_layer_copy()
  </code></synopsis>
  <p>Copy a layer.</p>  <p>This procedure copies the specified layer and returns the copy. The
newly copied layer is for use within the original layer's image. It
should not be subsequently added to any other image.</p>
  <p>Since 3.0</p>
<terms>
<item>
<title><code>self</code></title>
  <p>The layer to copy.</p>
</item>
<item>
<title><code>Returns</code></title>
{formatter.format(node, node.retval.doc)}
</item>
</terms>

</page>
