The built-in Rectangle struct represents an axis-aligned rectangle. You can make an extension method to rotate it a quarter around it’s center if that’s what you need specifically. Just create a new Rectangle with the same center and flipped width and height.