value class AspectRatio


The aspect ratio type of an image.

Note that images not in the selected ratio are cropped for display by design.

Summary

Public companion properties

AspectRatio

The aspect ratio of 16 x 9.

AspectRatio

The aspect ratio of 1 x 1.

AspectRatio

The aspect ratio of 2 x 3.

Public companion properties

Ratio16x9

Added in 1.0.0-alpha06
val Ratio16x9AspectRatio

The aspect ratio of 16 x 9.

Ratio1x1

Added in 1.0.0-alpha06
val Ratio1x1AspectRatio

The aspect ratio of 1 x 1.

Ratio2x3

Added in 1.0.0-alpha06
val Ratio2x3AspectRatio

The aspect ratio of 2 x 3.