function getMidpoint(element) {
  const rect = element.getBoundingClientRect();
  return {
    x: (rect.left + rect.right) / 2,
    y: (rect.top + rect.bottom) / 2
  };
}
export {
  getMidpoint
};
//# sourceMappingURL=getMidpoint.js.map
