📜  图像裁剪器实现 - 任何代码示例

📅  最后修改于: 2022-03-11 14:58:14.345000             🧑  作者: Mango

代码示例2
// start picker to get image for cropping and then use the image in cropping activity
CropImage.activity()
  .setGuidelines(CropImageView.Guidelines.ON)
  .start(this);

// start cropping activity for pre-acquired image saved on the device
CropImage.activity(imageUri)
 .start(this);

// for fragment (DO NOT use `getActivity()`)
CropImage.activity()
  .start(getContext(), this);