import * as Origins from './Origins';
const anchor = (anchorBox, origin) => ({
    anchorBox,
    origin
});
const element = (anchorElement, origin) => {
    const anchorBox = Origins.toBox(origin, anchorElement);
    return anchor(anchorBox, origin);
};
const box = (anchorBox, origin) => anchor(anchorBox, origin);
export { box, element };
//# sourceMappingURL=Anchor.js.map