Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.8/site-packages/rich/region.py: 100%

Shortcuts on this page

r m x   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

6 statements  

1from typing import NamedTuple 

2 

3 

4class Region(NamedTuple): 

5 """Defines a rectangular region of the screen.""" 

6 

7 x: int 

8 y: int 

9 width: int 

10 height: int