The un-rotated line boxes (width = text width, height = line height), in reading order. Only sizes are used; positions are derived here.
The rotation in CSS degrees (must satisfy isRotatedLayout).
The content box (cell box minus insets), in the caller's coordinate space.
The resolved horizontal alignment (General already resolved to left/right).
At diagonal angles it applies twice, matching Excel: along each line's chord (a short last line
slides toward the reading end) and to the whole footprint against the content box. At ±90° it
places the footprint only — the chord is vertical there, and sliding along it belongs to
vertical.
The vertical alignment. Diagonal angles: applied to the whole footprint against the content box. ±90°: applied per line ALONG its chord with screen semantics (Top hugs every line to the top edge, Center centers each line, Bottom hugs the bottom).
Lays out rotated line strips within a content box.