androidx.compose.ui.unit
center
Top-level property · from org.jetbrains.compose.ui:ui-unit:1.12.2
No hand-written docs yet.
Returns the DpOffset of the center of the rect from the point of [0, 0] with this DpSize.
val DpSize.center: DpOffset = DpOffset(packFloats((width / 2f).value, (height / 2f).value))