struct Rect {
    var origin = Point()
    var size = Size()
    var center: Point {
        get {