           <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">originWith</span><span class="p">(</span><span class="nv">parentWidth</span><span class="p">:</span> <span class="kt">CGFloat</span><span class="p">,</span> <span class="nv">width</span><span class="p">:</span> <span class="kt">CGFloat</span><span class="p">,</span> <span class="nv">padding</span><span class="p">:</span> <span class="kt"><a href="../../Structs/HorizontalPadding.html">Ho