🌈 Create new beautiful Compose Gradients with our new wesite ->
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
public 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
public val Size.center: Offset

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