Skip to content

Interface: ITextMetrics

Table of contents

Properties

Properties

actualBoundingBoxAscent

Readonly actualBoundingBoxAscent: number

Returns the measurement described below.

Defined in

leafer/packages/interface/src/canvas/ICanvas.ts:167


actualBoundingBoxDescent

Readonly actualBoundingBoxDescent: number

Returns the measurement described below.

Defined in

leafer/packages/interface/src/canvas/ICanvas.ts:169


actualBoundingBoxLeft

Readonly actualBoundingBoxLeft: number

Returns the measurement described below.

Defined in

leafer/packages/interface/src/canvas/ICanvas.ts:171


actualBoundingBoxRight

Readonly actualBoundingBoxRight: number

Returns the measurement described below.

Defined in

leafer/packages/interface/src/canvas/ICanvas.ts:173


fontBoundingBoxAscent

Readonly fontBoundingBoxAscent: number

Returns the measurement described below.

Defined in

leafer/packages/interface/src/canvas/ICanvas.ts:175


fontBoundingBoxDescent

Readonly fontBoundingBoxDescent: number

Returns the measurement described below.

Defined in

leafer/packages/interface/src/canvas/ICanvas.ts:177


width

Readonly width: number

Returns the measurement described below.

Defined in

leafer/packages/interface/src/canvas/ICanvas.ts:179

Released under the MIT License.