<?xml version="1.0"?>
<page id="Gimp.Drawable.type_with_alpha"
      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.Drawable" group="method" type="guide"/>
    <api:function>
      <api:returns>
        <api:type>Gimp.ImageType</api:type>
      </api:returns>
      <api:name>gimp_drawable_type_with_alpha</api:name>
      <api:arg>
        <api:type>Gimp.Drawable</api:type>
        <api:name>self</api:name>
      </api:arg>
    </api:function>
  </info>
  <title>Gimp.Drawable.type_with_alpha</title>
  <synopsis><code mime="text/x-python">
@accepts(Gimp.Drawable)
@returns(Gimp.ImageType)
def type_with_alpha(self):
    # Python wrapper for gimp_drawable_type_with_alpha()
  </code></synopsis>
  <p>Returns the drawable's type with alpha.</p>  <p>This procedure returns the drawable's type as if had an alpha
channel. If the type is currently Gray, for instance, the returned
type would be GrayA. If the drawable already has an alpha channel,
the drawable's type is simply returned.</p>

<terms>
<item>
<title><code>self</code></title>
  <p>The drawable.</p>
</item>
<item>
<title><code>Returns</code></title>
{formatter.format(node, node.retval.doc)}
</item>
</terms>

</page>
