aspectRatio

fun Size.aspectRatio(): Float

Determine the aspect ratio of a Size.


fun SizeF.aspectRatio(): Float

Determine the aspect ratio of a SizeF.