# C1.iOS.Core.GradientLayerMappingMode

## Content

<div class="doc-site-dotnet-api-container">




  <h1 id="C1_iOS_Core_GradientLayerMappingMode" data-uid="C1.iOS.Core.GradientLayerMappingMode" class="text-break">GradientLayerMappingMode 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.iOS.Core.html">C1.iOS.Core</a></h6>
  <h6><strong>Assembly</strong>: C1.iOS.Core.dll</h6>
  <h5 id="C1_iOS_Core_GradientLayerMappingMode_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public enum GradientLayerMappingMode</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Enum GradientLayerMappingMode</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_iOS_Core_GradientLayerMappingMode_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_iOS_Core_GradientLayerMappingMode_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>
