<?xml version="1.0"?>
<page id="Gimp.Vectors.new_from_text_layer"
      type="topic"
      style="constructor"
      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.Vectors" group="constructor" type="guide"/>
    <api:function>
      <api:returns>
        <api:type>Gimp.Vectors</api:type>
      </api:returns>
      <api:name>gimp_vectors_new_from_text_layer</api:name>
      <api:arg>
        <api:type>Gimp.Image</api:type>
        <api:name>image</api:name>
      </api:arg>
      <api:arg>
        <api:type>Gimp.Layer</api:type>
        <api:name>layer</api:name>
      </api:arg>
    </api:function>
  </info>
  <title>Gimp.Vectors.new_from_text_layer</title>
  <synopsis><code mime="text/x-gjs">
function new_from_text_layer(image: <link xref="Gimp.Image">Gimp.Image</link>, layer: <link xref="Gimp.Layer">Gimp.Layer</link>): <link xref="Gimp.Vectors">Gimp.Vectors</link> {
    // Gjs wrapper for gimp_vectors_new_from_text_layer()
}
  </code></synopsis>
  <p>Creates a new vectors object from a text layer.</p>  <p>Creates a new vectors object from a text layer. The vectors object
needs to be added to the image using <link xref="Gimp.Image.insert_vectors"/>.</p>
  <p>Since 2.6</p>
<terms>
<item>
<title><code>image</code></title>
  <p>The image.</p>
</item>
<item>
<title><code>layer</code></title>
  <p>The text layer.</p>
</item>
<item>
<title><code>Returns</code></title>
  <p>The vectors of the text layer.</p>
</item>
</terms>

</page>
