8 lines
173 B
JavaScript
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`;
|
|
}
|