UNPKG

react-native-zoom-toolkit

Version:

Smoothly zoom any image, video or component you want!

14 lines 498 B
import type { SizeVector, Vector } from '../types'; import type { CropContextResult } from '../../components/crop/types'; type CanvasToSizeOptions = { context: CropContextResult['context']; cropSize: SizeVector<number>; canvas: SizeVector<number>; resolution: SizeVector<number>; position: Vector<number>; scale: number; fixedWidth?: number; }; export declare const crop: (options: CanvasToSizeOptions) => CropContextResult; export {}; //# sourceMappingURL=crop.d.ts.map