withCenter

abstract fun Rectangle<T>.withCenter(center: T): Rectangle<T>

Move given rectangle to be centered at center