Results 1 - 2 of 2


The TextMetrics interface represents the dimension of a text in the canvas, as created by the CanvasRenderingContext2D.measureText() method.
API Canvas Reference Référence TextMetrics


The readonly TextMetrics.width property contains the text's advance width (the width of that inline box) in CSS pixels.
API Canvas Property Reference Référence TextMetrics