ArthurHub / ArthurHub/Android-Image-Cropper

remove crop shape oval

Open
#430 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
6.4k
Forks
1.4k
PR merge metrics
No merged PRs in 30d

Description

> i have set different ration on different TextView and oval shape too but normally all ratio works good until i don't select shape ration .. the time i select shape and then select others ratio the OVAL shape not getting changed to normal .....
**see code to get the issue**

`
```
case R.id.txt_crop_3_2:
cropImageView.setAspectRatio(3, 2);

break;
case R.id.txt_crop_5_4:
cropImageView.setAspectRatio(5, 4);

break;
case R.id.txt_crop_7_5:

cropImageView.setAspectRatio(7, 5);

break;
case R.id.txt_crop_16_9:
cropImageView.setAspectRatio(16, 9);

break;
case R.id.txt_crop_free:
cropImageView.clearAspectRatio();
break;
case R.id.txt_crop_rec:

cropImageView.setCropShape(CropImageView.CropShape.RECTANGLE);
break;
case R.id.txt_crop_oval:

cropImageView.setCropShape(CropImageView.CropShape.OVAL);
break;`
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.