aspectRatio

fun StyleScope.aspectRatio(aspectRatio: AspectRatio)(source)


fun StyleScope.aspectRatio(ratio: Number)(source)

Deprecated

Use `aspectRatio(AspectRatio.of(ratio))` instead

Replace with

aspectRatio(AspectRatio.of(ratio))

fun StyleScope.aspectRatio(width: Number, height: Number)(source)

Deprecated

Use `aspectRation(AspectRatio.of(width, height))` instead

Replace with

aspectRatio(AspectRatio.of(width, height))