UNPKG

@leafer/math

Version:
10 lines (8 loc) 365 B
import { IPointData, IBoundsData, IAlign } from '@leafer/interface' import { AroundHelper } from './AroundHelper' const { toPoint } = AroundHelper export const AlignHelper = { toPoint(align: IAlign, contentBounds: IBoundsData, bounds: IBoundsData, to: IPointData, onlySize?: boolean): void { toPoint(align, bounds, to, onlySize, contentBounds) } }