Size

fun Size(@Px() width: Int, height: Dimension): Size

Create a Size with a pixel value for width.

fun Size(width: Dimension, @Px() height: Int): Size

Create a Size with a pixel value for height.

fun Size(@Px() width: Int, @Px() height: Int): Size

Create a Size with pixel values for both width and height.