ass="property">@dimensions</span>.width &lt; <span class="property">@dimensions</span>.height <span class="keyword">then</span> <span class="property">@dimensions</span>.height <span class="keyword">else</span> <span class="property">@dimensions</span>.width

    radius1 = (opts.radius / <span class="number">2</span>) - opts.size
    radius2 = (opts.radius / <span class="number">2</span>)

    gradient = getRadialGradientMap(<span class="property">@dimensions</span>.width, <span class="property">@dimensions