dimensions

fun dimensions(all: Dp = 0.dp): Dimensions

Creates a Dimensions instance with a common value for each coordinate.


fun dimensions(horizontal: Dp = 0.dp, vertical: Dp = 0.dp): Dimensions
fun dimensions(start: Dp = 0.dp, top: Dp = 0.dp, end: Dp = 0.dp, bottom: Dp = 0.dp): Dimensions

Creates a Dimensions instance using the provided measurements.