Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TextMetrics

Package version

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

Hierarchy

  • TextMetrics

Index

Properties

actualBoundingBoxAscent

actualBoundingBoxAscent: number

Returns the measurement described below.

actualBoundingBoxDescent

actualBoundingBoxDescent: number

Returns the measurement described below.

actualBoundingBoxLeft

actualBoundingBoxLeft: number

Returns the measurement described below.

actualBoundingBoxRight

actualBoundingBoxRight: number

Returns the measurement described below.

alphabeticBaseline

alphabeticBaseline: number

Returns the measurement described below.

emHeightAscent

emHeightAscent: number

Returns the measurement described below.

emHeightDescent

emHeightDescent: number

Returns the measurement described below.

fontBoundingBoxAscent

fontBoundingBoxAscent: number

Returns the measurement described below.

fontBoundingBoxDescent

fontBoundingBoxDescent: number

Returns the measurement described below.

hangingBaseline

hangingBaseline: number

Returns the measurement described below.

ideographicBaseline

ideographicBaseline: number

Returns the measurement described below.

width

width: number

Returns the measurement described below.

Generated using TypeDoc