Home

Awesome

PhotoPolygonCropper

Description

Crop photo using polygon

Usage

<img src="https://raw.githubusercontent.com/leanh215/PhotoPolygonCropper/master/demo.gif" width="300">
    compile 'vn.tinyhands:photo-cropper:0.0.8'
    <vn.nano.photocropper.CropImageView
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:id="@+id/img_photo"
        />
cropImageView.setImageBitmap(bitmap);
    cropImageView.crop(Croplistener cropListener, boolean needStretch);