center

Property

Common
val RoundRect.center: Offset

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

Common
val Size.center: Offset

Returns the Offset of the center of the rect from the point of 0, 0 with this Size.