TuiFrame
A width/height-fixed grid of already-rendered text lines. Pure data -- building a normalized (padded/truncated) frame from raw text is the job of {@see \Milpa\Live\Tui\TuiFrameFactory} in the implementation layer, not this value object, so ValueObjects\Tui never has to depend on a concrete string-width helper to be constructed.
TuiFrame::__construct()
public function __construct(int $width, int $height, array $lines):Parameters
| Name | Type | Description |
|---|---|---|
| $width | int | |
| $height | int | |
| $lines | array<int, string> |