Readonly
actualBoundingBoxAscent
actualBoundingBoxAscent: number
Readonly
actualBoundingBoxDescent
actualBoundingBoxDescent: number
Readonly
actualBoundingBoxLeft
actualBoundingBoxLeft: number
Readonly
actualBoundingBoxRight
actualBoundingBoxRight: number
Readonly
alphabeticBaseline
alphabeticBaseline: number
Readonly
emHeightAscent
emHeightAscent: number
Readonly
emHeightDescent
emHeightDescent: number
Readonly
fontBoundingBoxAscent
fontBoundingBoxAscent: number
Readonly
fontBoundingBoxDescent
fontBoundingBoxDescent: number
Readonly
hangingBaseline
hangingBaseline: number
Readonly
ideographicBaseline
ideographicBaseline: number
Readonly
width
width: number
The dimensions of a piece of text in the canvas, as created by the CanvasRenderingContext2D.measureText() method.
MDN Reference