CropProperty

abstract class CropProperty

Inheritors

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
abstract fun setAspect(@IntRange(from = 0) aspectX: Int, @IntRange(from = 0) aspectY: Int): CropProperty

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
abstract fun setCorp(value: Boolean): CropProperty

Set crop.

Link copied to clipboard
abstract fun setData(uri: Uri): CropProperty

Set the data uri.

Link copied to clipboard

Set the noFaceDetection.

Link copied to clipboard
abstract fun setOutput(@IntRange(from = 0) outputX: Int, @IntRange(from = 0) outputY: Int): CropProperty

Set the value of outputX , outputY.

Link copied to clipboard
protected abstract fun setOutputFormat(format: String): CropProperty

Set the output image format.

Link copied to clipboard
abstract fun setOutputName(name: String?): CropProperty

Set the name for the output image.

Link copied to clipboard
abstract fun setOutputUri(uri: Uri?): CropProperty

Set the uri for the output image.

Link copied to clipboard
abstract fun setReturnData(value: Boolean): CropProperty

Set the return-data.