.model.units
This module holds named tuples that measure pixel units:
Pixels - x and y pixel coordinates as int values
CropBox - x0, y0 and x1, y1 pixel coordinates as int values
Location
/model/units.py
Pixels
Named tuple containing x and y pixel coordinates as int values:
- model.units.Pixels(x, y)
CropBox
Named tuple containing x0, y0, x1, y1 pixel coordinates as int values:
- model.units.CropBox(x0, y0, x1, y1)