Property

center

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

Source set: 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.

Source set: Common
val Size.center: Offset

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

Last updated: