CropIntent

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
private val intent: Intent
Link copied to clipboard

Functions

Link copied to clipboard

Return crop intent.

Link copied to clipboard
open override fun setAspect(aspectX: Int, aspectY: Int): CropIntent

Sets the ratio of the length and width of the initial cropped preview frame. By default, the width of the initial preview frame is the width of the image to be cropped.

Link copied to clipboard
open override fun setCorp(value: Boolean): CropIntent

Set crop.

Link copied to clipboard
open override fun setData(uri: Uri): CropIntent

Set the data uri.

Link copied to clipboard
open override fun setNoFaceDetection(value: Boolean): CropIntent

Set the noFaceDetection.

Link copied to clipboard
open override fun setOutput(outputX: Int, outputY: Int): CropIntent

Set the value of outputX , outputY.

Link copied to clipboard
protected open override fun setOutputFormat(format: String): CropIntent

Set the output image format.

Link copied to clipboard
open override fun setOutputName(name: String?): CropIntent

Set the name for the output image.

Link copied to clipboard
open override fun setOutputUri(uri: Uri?): CropIntent

Set the uri for the output image.

Link copied to clipboard
open override fun setReturnData(value: Boolean): CropIntent

Set the return-data.