Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
interface default.DOM.Rect
import { type default } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.d.ts";
const { Rect } = default.DOM;

Rectangle.

Properties

x: number

X coordinate

y: number

Y coordinate

width: number

Rectangle width

height: number

Rectangle height