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

x/dwm/ext/canvas.ts>Image

Deno Window Manager: Cross-platform window creation and management
Latest
class Image
extends EventTarget
Re-export
import { Image } from "https://deno.land/x/dwm@0.3.6/ext/canvas.ts";

Constructors

new
Image(data?: ImageSource)

Properties

readonly
_unsafePointer
readonly
height
src: ImageSource | undefined
readonly
width
optional
[_src]: ImageSource
[_token]: { ptr: Deno.PointerValue; }

Static Methods

load(path: string | URL)
loadSync(path: string)

Load an image from a local file synchronously.