# C1.Android.Core.GradientDrawableMappingMode

## Content

<div class="doc-site-dotnet-api-container">




  <h1 id="C1_Android_Core_GradientDrawableMappingMode" data-uid="C1.Android.Core.GradientDrawableMappingMode" class="text-break">GradientDrawableMappingMode Enum
</h1>
  <div class="markdown level0 summary"><p>Defines whether the gradients definitions are expressed in absolute of relative terms.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Android.Core.html">C1.Android.Core</a></h6>
  <h6><strong>Assembly</strong>: C1.Android.Core.dll</h6>
  <h5 id="C1_Android_Core_GradientDrawableMappingMode_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public enum GradientDrawableMappingMode</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Enum GradientDrawableMappingMode</code></pre>
  </div>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    <thead>
    </thead></thead><tbody>
      <tr>
        <td id="C1_Android_Core_GradientDrawableMappingMode_Absolute">Absolute</td>
        <td><p>The coordinate system is not relative to a bounding box. Values are interpreted directly in local space.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Core_GradientDrawableMappingMode_RelativeToBoundingBox">RelativeToBoundingBox</td>
        <td><p>The coordinate system is relative to a bounding box: 0 indicates 0 percent of the bounding box, and 1 indicates 100 percent of the bounding box. For example, (0.5, 0.5) describes a point in the middle of the bounding box, and (1, 1) describes a point at the bottom right of the bounding box.</p>
</td>
      </tr>
    </tbody>
  </table>
</div>
