@aalzehla/capacitor-cropper
v1.0.0
Published
Image Cropper for Capacitor
Readme
@aalzehla/capacitor-cropper
Image Cropper for Capacitor
Install
npm install @aalzehla/capacitor-cropper
npx cap syncAPI
crop(...)
crop(options: CropImageOptions) => Promise<CropImageState>| Param | Type |
| ------------- | ------------------------------------------------------------- |
| options | CropImageOptions |
Returns: Promise<CropImageState>
Interfaces
CropImageState
| Prop | Type |
| ------------ | ------------------- |
| result | string |
CropImageOptions
| Prop | Type |
| ------------- | -------------------- |
| uri | string |
| x | number |
| y | number |
| rounded | boolean |
| title | string |
