advanced-cropper
Version:
The core of the advanced cropper libraries family
7 lines (6 loc) • 381 B
TypeScript
import { Size } from "../../types/index";
import { BoundingBox } from "./types";
declare function circleBoundingBox(size: Size, angle: number): Size;
declare function rectangleBoundingBox(size: Size, angle: number): Size;
declare function getBoundingBox(size: Size, angle: number, algorithm?: BoundingBox): Size;
export { circleBoundingBox, rectangleBoundingBox, getBoundingBox };