Function: cssShapes()
ts
function cssShapes(
shapes,
box,
precision?
): string;polygon(...) for several shapes (outlines with holes) at once: an even–odd polygon that visits each extra loop from the first outline's first point and comes back.
Parameters
| Parameter | Type | Default value |
|---|---|---|
shapes | readonly Shape[] | undefined |
box | Rect | undefined |
precision | number | 4 |
Returns
string