(left: number, top: number, width: number, height: number)
| 18 | } |
| 19 | |
| 20 | function rect(left: number, top: number, width: number, height: number) { |
| 21 | return { left, top, right: left + width, bottom: top + height, width, height }; |
| 22 | } |
| 23 | |
| 24 | function visible(r = rect(100, 100, 200, 80), opacity = 1): FrameSample { |
| 25 | return { rect: r, opacity, visible: true }; |
no outgoing calls
no test coverage detected