web-features explorer

Canvas text metrics

Widely available since 2018-01-29 (baseline high)

The fillText() and strokeText() methods draw text to a 2D canvas. The measureText() method measures the width and other metrics which can be used to position the text.

Compatibility

BCD data