Can this be a `Rect` instead, or at least a struct? 7 parameters is a lot.