center

Property

Common
val DpSize.center: DpOffset

Returns the DpOffset of the center of the rect from the point of 0, 0 with this DpSize.

Common
val IntSize.center: IntOffset

Returns the IntOffset of the center of the rect from the point of 0, 0 with this IntSize.