Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/windmill/node_modules/evt/lib/types/lib.dom.d.ts>TextMetrics

Windmill deno client (separated from the main repo because most of the code is auto-generated from the openapi and not worth committing)
Go to Latest
interface TextMetrics
import { type TextMetrics } from "https://deno.land/x/windmill@v1.298.0/node_modules/evt/lib/types/lib.dom.d.ts";

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

Properties

readonly
actualBoundingBoxAscent: number

Returns the measurement described below.

readonly
actualBoundingBoxDescent: number

Returns the measurement described below.

readonly
actualBoundingBoxLeft: number

Returns the measurement described below.

readonly
actualBoundingBoxRight: number

Returns the measurement described below.

readonly
alphabeticBaseline: number

Returns the measurement described below.

readonly
emHeightAscent: number

Returns the measurement described below.

readonly
emHeightDescent: number

Returns the measurement described below.

readonly
fontBoundingBoxAscent: number

Returns the measurement described below.

readonly
fontBoundingBoxDescent: number

Returns the measurement described below.

readonly
hangingBaseline: number

Returns the measurement described below.

readonly
ideographicBaseline: number

Returns the measurement described below.

readonly
width: number

Returns the measurement described below.