UNPKG

@expofp/floorplan

Version:

Interactive floor plan library for expos and events

13 lines • 697 B
import type { Rect, RectLike } from '@expofp/geometry'; import type { ImageDef } from '@expofp/renderer'; export declare function isInnerInsideOuter(inner: Rect, outer?: RectLike): boolean; export declare function flipImageDef(imageDef: ImageDef, angle: number): boolean; /** * Declares the camera-roll rule on a def that has to stay readable: it follows the plan in quarter * turns, the same way the plan's own labels do. * @param imageDef - The def to keep upright. * @returns The same def. */ export declare function attachCardinalSnap(imageDef: ImageDef): ImageDef; export declare function rotateImageDef(imageDef: ImageDef, angle: number): boolean; //# sourceMappingURL=rotation.d.ts.map