advanced-cropper
Version:
The core of the advanced cropper libraries family
6 lines (5 loc) • 309 B
TypeScript
import { CoreSettings, CropperState, ImageRestriction, PositionRestrictions } from "../types/index";
declare function defaultAreaPositionRestrictions(state: CropperState, settings: CoreSettings & {
imageRestriction?: ImageRestriction;
}): PositionRestrictions;
export { defaultAreaPositionRestrictions };