Private
Public Access
1
0
Files

8 lines
173 B
JavaScript

/**
* Calculates the corners of a rectangle based on its DOMRect and an offset.
*
* @internal
*/ export function pointsToSvgPath(points) {
return `M ${points} z`;
}