region.py 166 B

12345678910
  1. from typing import NamedTuple
  2. class Region(NamedTuple):
  3. """Defines a rectangular region of the screen."""
  4. x: int
  5. y: int
  6. width: int
  7. height: int