Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/ogone/src/ogone.dom.d.ts>ImageBitmap

Advanced Web Composition for Future
Latest
interface ImageBitmap
import { type ImageBitmap } from "https://deno.land/x/ogone@revb3/src/ogone.dom.d.ts";

Properties

readonly
height: number

Returns the intrinsic height of the image, in CSS pixels.

readonly
width: number

Returns the intrinsic width of the image, in CSS pixels.

Methods

close(): void

Releases imageBitmap's underlying bitmap data.