Function: domainDepth()
ts
function domainDepth(depth, item, size): number;Experimental
A shape's depth (px) from the trace's depth: a number, a percentage of size ('20%'), or one number per item (item indexes it). At least FLAT.
Parameters
| Parameter | Type |
|---|---|
depth | unknown |
item | number |
size | number |
Returns
number