A laid-out line. pill is box widened by the horizontal padding on each edge.
pill
box
typedef TextEntityLine = ({Rect box, Rect pill});