androidx.compose.ui.geometry

center

Top-level property · from org.jetbrains.compose.ui:ui-geometry:1.12.2

No hand-written docs yet.

The offset to the point halfway between the left and right and the top and bottom edges of this rectangle.

val RoundRect.center: Offset = Offset((left + width / 2.0f), (top + height / 2.0f))