AspectRatio


class AspectRatio


The aspect ratio of the use case.

Aspect ratio is the ratio of width to height.

Summary

Constants

const Int

16:9 standard aspect ratio.

const Int

4:3 standard aspect ratio.

const Int

The aspect ratio representing no preference for aspect ratio.

Constants

RATIO_16_9

Added in 1.0.0
const val RATIO_16_9 = 1: Int

16:9 standard aspect ratio.

RATIO_4_3

Added in 1.0.0
const val RATIO_4_3 = 0: Int

4:3 standard aspect ratio.

RATIO_DEFAULT

Added in 1.3.0
const val RATIO_DEFAULT = -1: Int

The aspect ratio representing no preference for aspect ratio.