Skip to content

measureCell

measureCell(): CellMetrics

Defined in: src/driver/web/dom.ts:105

Measure one cell’s pixel size by laying out a probe glyph with the exact font styling renderBufferToHTML emits, so pixel→cell mapping and grid sizing stay in lock-step with the rendered output. Browser-only.

CellMetrics