[CALI] Change Rectangle to use getters
This CL prepares `Rectangle` for upcoming changes. Details:
* math.js: `Rectangle`:
* CTOR: Rename `topLeft` --> `leftTop` and
`bottomRight` --> `rightBottom` to follow x-y order.
* Add getters `left()`, `top()`, `right()`, `bottom()`.
* Change `width()`, `height()` to getters.
* ui_common.js: `InfoBarVis`: Update.
Bug: 544811853
Change-Id: Ifbbf29899671de0664daa12504941053770da171
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8599236
Commit-Queue: Samuel Huang <huangs@chromium.org>
Reviewed-by: Brandon Wylie <wylieb@google.com>
Cr-Commit-Position: refs/heads/main@{#1721444}
NOKEYCHECK=True
GitOrigin-RevId: db315902a68554f3e3eff7353f7132a4811c6e3d
2 files changed