-
center
Returns the DpOffset of the center of the rect from the point of 0, 0 with this DpSize.
-
dp
Create a Dp using an Int: val left = 10 val x = left.
-
em
Creates an EM unit TextUnit
-
height
A height of this Bounds in Dp.
-
isFinite
Return `true` when it is finite or `false` when it is [Dp.
-
isSpecified
`false` when this is [TextUnit.
-
isUnspecified
`true` when this is [TextUnit.
-
size
Returns the size of the DpRect.
-
sp
Creates a SP unit TextUnit
-
width
A width of this Bounds in Dp.
Compose UI Unit
Jetpack Compose API reference for ui-unit.