-
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.dp // -- or -- val y = 10.dp
-
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.Infinity
-
isSpecified
false when this is TextUnit.Unspecified.
-
isUnspecified
true when this is TextUnit.Unspecified.
-
size
Returns the size of the DpRect.
-
sp
Creates a SP unit TextUnit
-
width
A width of this Bounds in Dp.
Last updated: