proc extents(self: RectangleShape2D): Vector2 {.gcsafe, locks: 0, raises: [], tags: [].}
proc extents=(self: RectangleShape2D; val: Vector2) {.gcsafe, locks: 0, raises: [], tags: [].}