Skip to content

@ralphschuler.webgl shader factory.<internal>.TextMetrics

github-actions edited this page Nov 26, 2023 · 1 revision

Interface: TextMetrics

@ralphschuler/webgl-shader-factory.<internal>.TextMetrics

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

MDN Reference

Table of contents

Properties

Properties

actualBoundingBoxAscent

Readonly actualBoundingBoxAscent: number

Returns the measurement described below.

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:22014


actualBoundingBoxDescent

Readonly actualBoundingBoxDescent: number

Returns the measurement described below.

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:22020


actualBoundingBoxLeft

Readonly actualBoundingBoxLeft: number

Returns the measurement described below.

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:22026


actualBoundingBoxRight

Readonly actualBoundingBoxRight: number

Returns the measurement described below.

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:22032


fontBoundingBoxAscent

Readonly fontBoundingBoxAscent: number

Returns the measurement described below.

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:22038


fontBoundingBoxDescent

Readonly fontBoundingBoxDescent: number

Returns the measurement described below.

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:22044


width

Readonly width: number

Returns the measurement described below.

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:22050

Typescript Libraries

Modules

Namespaces

Clone this wiki locally