image_cropper library
-
author: Hung Duy Ha (hunghd)
-
email: hunghd.yb@gmail.com
-
contributors: Jay Graves (skabber)
A plugin provides capability of manipulating an image including rotating and cropping.
Note that: this plugin is based on different native libraries depending on Android or iOS platform, so it shows different UI look and feel between those platforms.
Classes
- AndroidUiSettings
- A helper class provides properties that can be used to customize the cropper view on Android.
- CropAspectRatio
- ImageCropper
- A convenient class wraps all api functions of ImageCropper plugin
- IOSUiSettings
- A helper class provides properties that can be used to customize the cropper view on iOS.
Enums
- CropAspectRatioPreset
- A set of preset values can be used to setup the menu of crop aspect ratio options in the cropper view.
- CropStyle
- Crop style options. There're two supported styles, rectangle and circle. These style will changes the shape of crop bounds, rectangle or circle bounds.
- ImageCompressFormat
- Supported image compression formats
Functions
-
aspectRatioPresetName(
CropAspectRatioPreset? preset) → String -
compressFormatName(
ImageCompressFormat format) → String -
cropStyleName(
CropStyle style) → String