cameraViewEx / com.priyankvasa.android.cameraviewex / AspectRatio / of

of

fun of(x: Int, y: Int): AspectRatio

Platform and version requirements: JVM

Returns an instance of AspectRatio specified by x and y values. The values x and y will be reduced by their greatest common divider.

Parameters

x - The width

y - The height

Return
An instance of AspectRatio