Skip to content

Interface: ArcShape ​

Experimental

Resolved per-wedge SDF parameters (see computeArcShape).

Properties ​

PropertyTypeDescription
cornerInnernumberExperimental
cornerOuternumberExperimental Outer / inner corner radius after d3's clamping, px (0 = sharp / no inner corner).
hnumberExperimental Side offset from the radial edges, px (the pad gap is 2h); -1 for a full ring.
halfnumberExperimental
midnumberExperimental Bisector angle and half the angular span, radians (half = π for a full ring).
r0numberExperimental Inner / outer radius, px (r0 ≤ r1).
r1numberExperimental

Released under the MIT License.