dimensionsOf

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


fun dimensionsOf(startDp: Float = 0.0f, topDp: Float = 0.0f, endDp: Float = 0.0f, bottomDp: Float = 0.0f): MutableDimensions
fun dimensionsOf(verticalDp: Float = 0.0f, horizontalDp: Float = 0.0f): MutableDimensions

Creates a MutableDimensions instance using the provided measurements.