blog

The Math Behind Nesting Rounded Corners

https://cloudfour.com/thinks/the-math-behind-nesting-rounded-corners/

TL;DR: outerRadius - gap = innerRadius