from typing import Optional
from typing import Callable
#from collections.abc import Callable

from coldtype.geometry import Rect, Edge, Point, txt_to_edge

#from coldtype.pens.datpenlikeobject import DATPenLikeObject
#from coldtype.pens.datpen import DATPen, DATPens