From 5cd454c374160df7abbf3664c2b97f5456d4bd6a Mon Sep 17 00:00:00 2001 From: Website Deployment Script Date: Sat, 25 Aug 2018 15:02:18 +0000 Subject: [PATCH] Deploy website Deploy website version based on f5dc19450fff68d57b4e54ee89be8723e87a6db4 --- docs/next/imageeditor.html | 18 ++++++++++++++++-- docs/next/imageeditor/index.html | 18 ++++++++++++++++-- 2 files changed, 32 insertions(+), 4 deletions(-) diff --git a/docs/next/imageeditor.html b/docs/next/imageeditor.html index e4fe42976e3..658dc2dfbc4 100644 --- a/docs/next/imageeditor.html +++ b/docs/next/imageeditor.html @@ -39,8 +39,22 @@

cropImage()

static cropImage(uri, cropData, success, failure)
 
-

Crop the image specified by the URI param. If URI points to a remote image, it will be downloaded automatically. If the image cannot be loaded/downloaded, the failure callback will be called.

-

If the cropping process is successful, the resultant cropped image will be stored in the ImageStore, and the URI returned in the success callback will point to the image in the store. Remember to delete the cropped image from the ImageStore when you are done with it.

+

Crop the image specified by the URI param. If URI points to a remote image, it will be downloaded automatically. If the image cannot be loaded/downloaded, the failure callback will be called.

+

If the cropping process is successful, the resultant cropped image will be stored in the ImageStore, and the URI returned in the success callback will point to the image in the store. Remember to delete the cropped image from the ImageStore when you are done with it.

+

cropData

+ +
cropData = {
+  offset: { x: number, y: number },
+  size: { width: number, height: number },
+  displaySize: { width: number, height: number },
+  resizeMode: 'contain/cover/stretch',
+}
+
← GeolocationImagePickerIOS →