Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TextMetrics

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

Hierarchy

  • TextMetrics

Index

Properties

actualBoundingBoxAscent: number

Returns the measurement described below.

actualBoundingBoxDescent: number

Returns the measurement described below.

actualBoundingBoxLeft: number

Returns the measurement described below.

actualBoundingBoxRight: number

Returns the measurement described below.

alphabeticBaseline: number

Returns the measurement described below.

emHeightAscent: number

Returns the measurement described below.

emHeightDescent: number

Returns the measurement described below.

fontBoundingBoxAscent: number

Returns the measurement described below.

fontBoundingBoxDescent: number

Returns the measurement described below.

hangingBaseline: number

Returns the measurement described below.

ideographicBaseline: number

Returns the measurement described below.

width: number

Returns the measurement described below.

Generated using TypeDoc