(frame: JSONObject | null | undefined)
| 1692 | } |
| 1693 | |
| 1694 | function rectArea(frame: JSONObject | null | undefined): number { |
| 1695 | return rectNumber(frame, "width") * rectNumber(frame, "height"); |
| 1696 | } |
| 1697 | |
| 1698 | function rectOverlapArea(left: JSONObject, right: JSONObject): number { |
| 1699 | const x1 = Math.max(rectNumber(left, "x"), rectNumber(right, "x")); |
no test coverage detected