setAspect

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.

Parameters

aspectX

The value of aspectX.

aspectY

The value of aspectY.