The dimensions of a piece of text in the canvas, as created by the CanvasRenderingContext2D.measureText() method.

MDN Reference

Hierarchy

  • TextMetrics

Properties

actualBoundingBoxAscent: number

Returns the measurement described below.

MDN Reference

actualBoundingBoxDescent: number

Returns the measurement described below.

MDN Reference

actualBoundingBoxLeft: number

Returns the measurement described below.

MDN Reference

actualBoundingBoxRight: number

Returns the measurement described below.

MDN Reference

fontBoundingBoxAscent: number

Returns the measurement described below.

MDN Reference

fontBoundingBoxDescent: number

Returns the measurement described below.

MDN Reference

width: number

Returns the measurement described below.

MDN Reference

Generated using TypeDoc