Function: computeArcShape()
ts
function computeArcShape(input): ArcShape | null;Experimental
Resolve one wedge's d3.arc parameters into SDF parameters: swap radii if needed, apply the pad offset h = padRadius · sin(padAngle / 2) and clamp the corner radii (d3 rc, rc0, rc1). Returns null for wedges that draw nothing (non-finite input, zero span or radius, or padding that consumes the whole wedge).
Parameters
| Parameter | Type |
|---|---|
input | ArcShapeInput |
Returns
ArcShape | null