<?xml version="1.0"?>
<page id="Gimp.AddMaskType"
      type="topic"
      style="enum"
      xmlns="http://projectmallard.org/1.0/"
      xmlns:api="http://projectmallard.org/experimental/api/"
      xmlns:ui="http://projectmallard.org/1.0/ui/">
  <info>
    <link xref="index" group="enum" type="guide"/>
  </info>
  <title>Gimp.AddMaskType</title>
  <p>Modes of initialising a layer mask.</p>

<terms>
<item>
<title><code>AddMaskType.WHITE</code></title>
  <p>White (full opacity)</p>
</item>
<item>
<title><code>AddMaskType.BLACK</code></title>
  <p>Black (full transparency)</p>
</item>
<item>
<title><code>AddMaskType.ALPHA</code></title>
  <p>Layer's alpha channel</p>
</item>
<item>
<title><code>AddMaskType.ALPHA_TRANSFER</code></title>
  <p>Transfer layer's alpha channel</p>
</item>
<item>
<title><code>AddMaskType.SELECTION</code></title>
  <p>Selection</p>
</item>
<item>
<title><code>AddMaskType.COPY</code></title>
  <p>Grayscale copy of layer</p>
</item>
<item>
<title><code>AddMaskType.CHANNEL</code></title>
  <p>Channel</p>
</item>
</terms>

</page>
