Cross platform, custom view that allows the user to select the cropping window.
1. Add the view with the designer.
2. Set the bitmap with CropView.SetBitmap.
3. Optionally handle the CropCompleted event.
4. Call GetCroppedBitmap to get the cropped bitmap.
5. You can check that there is a valid selection window by calling IsValidSelection.
Depends on: XUI, BitmapCreator (both are internal libraries).
Requires a recent version of B4X.
The class is included in the B4A project.
1. Add the view with the designer.
2. Set the bitmap with CropView.SetBitmap.
3. Optionally handle the CropCompleted event.
4. Call GetCroppedBitmap to get the cropped bitmap.
5. You can check that there is a valid selection window by calling IsValidSelection.
Depends on: XUI, BitmapCreator (both are internal libraries).
Requires a recent version of B4X.
The class is included in the B4A project.