限定符和类型 | 方法和说明 |
---|---|
ImagePicker.CropConfigBuilder |
ImagePicker.CropConfigBuilder.aspect(int aspectX,
int aspectY)
设置裁剪图片比例
|
ImagePicker.CropConfigBuilder |
ImagePicker.CropConfigBuilder.faceDetection(boolean faceDetection)
设置是否需要人脸识别(如果默认支持的话)
|
ImagePicker.CropConfigBuilder |
ImagePicker.CropConfigBuilder.inputFile(java.io.File file)
设置裁剪源文件,仅在只做裁剪时设置才有效,否则都采用图片选择器的输出文件作为裁剪输入文件
|
ImagePicker.CropConfigBuilder |
ImagePicker.CropConfigBuilder.outputFile(java.io.File file)
设置输出文件
|
ImagePicker.CropConfigBuilder |
ImagePicker.CropConfigBuilder.outputSize(int outputX,
int outputY)
设置裁剪输出图片大小
|
限定符和类型 | 方法和说明 |
---|---|
ImagePicker.Builder |
ImagePicker.Builder.withCrop(com.lancewu.imagepicker.crop.Crop crop,
ImagePicker.CropConfigBuilder cropConfigBuilder,
int requestCode)
设置选择完照片需要裁剪,采用自定义裁剪器
|
ImagePicker.Builder |
ImagePicker.Builder.withCrop(ImagePicker.CropConfigBuilder cropConfigBuilder)
设置选择完照片需要裁剪,采用系统裁剪器
|