11 lines
166 B
Python
11 lines
166 B
Python
|
from typing import NamedTuple
|
||
|
|
||
|
|
||
|
class Region(NamedTuple):
|
||
|
"""Defines a rectangular region of the screen."""
|
||
|
|
||
|
x: int
|
||
|
y: int
|
||
|
width: int
|
||
|
height: int
|